-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pvt key conversions and http errors (#12)
* Update .env.sample * Added functions for pvt key conversion. Handled errs for http requests. Updated readme * Added Biscuit public key. Fixed DDL example. * Added example files * Axios vulnerability fix
- Loading branch information
1 parent
db2ec10
commit 82cdfe4
Showing
15 changed files
with
2,948 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
BASEURL="https://<base_url>" # Space and Time Base API Endpoint before v1/v2 | ||
SCHEMA=ed25519 | ||
BASEURL_GENERAL="https://<base_url>" # Space and Time Base API Endpoint before v1/v2 | ||
SCHEME=ed25519 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"userid": "SOME_RANDOM_USERID", | ||
"privateKeyB64_64": "SAMPLE_w1lcWOZOdYDBwhCUnm1pkMhZi8D0Yuuh+8NCVoMZkolJEEH1lVNJpJtayo/hGQO/7NlIBdpYZj3QT5FfjvYFA==", | ||
"publicKeyB64_32": "SAMPLE_SRBB9ZVTSaSbWsqP4RkDv+zZSAXaWGY90E+RX472BQ=", | ||
"resource": "ETHEREUM.TRANSACTIONS", | ||
"biscuit": "SAMPLE_twCCvEBCg5zeHQ6Y2FwYWJpbGl0eQoKZGRsX2NyZWF0ZQoVRVRIRVJFVU0uVFJBTlNBQ1RJT05TCghkZGxfZHJvcAoJZGRsX2FsdGVyCgpkbWxfaW5zZXJ0CgpkbWxfZGVsZXRlCgpkbWxfdXBkYXRlCgpkcWxfc2VsZWN0GAMiDwoNCIAIEgMYgQgSAxiCCCIPCg0IgAgSAxiDCBIDGIIIIg8KDQiACBIDGIQIEgMYgggiDwoNCIAIEgMYhQgSAxiCCCIPCg0IgAgSAxiGCBIDGIIIIg8KDQiACBIDGIcIEgMYgggiDwoNCIAIEgMYiAgSAxiCCBIkCAASIOMZrCZZrup2nz_XRgQWD5EtNGm51vPiGN6-OdDhEHIxGkCCCIRKKwtyd3qPU8yE_xOJwnKvVxXHrdjh6__G-y6H3J2gcoCzxwxix1A4XGtzmxOHl4C4fR4gFhrioXskX2wDIiIKIAptVyvBaTrQtFCLqOghUjDNa0BFX9hxv9lbWmMmqEas", | ||
"biscuitPrivateKeyHex_32": "SAMPLE_f0d6571639939d6030708425279b5a64321662f03d18bae87ef0d095a0c664a", | ||
"biscuitPublicKeyHex_32": "SAMPLE_5244107d6554d26926d6b2a3f84640effb3652017696198f7413e457e3bd814" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"accessToken": "SAMPLE_eyJ0eXBlIjoiYWNjZXNzIiwia2lkIjoiZTUxNDVkYmQtZGNmYi00ZjI4LTg3NzItZjVmNjNlMzcwM2JlIiwiYWxnIjoiRVMyNTYifQ.eyJpYXQiOjE3MzIxMjAxNjgsIm5iZiI6MTczMjEyMDE2OCwiZXhwIjoxNzMyMTIxNjY4LCJ0eXBlIjoiYWNjZXNzIiwidXNlciI6ImNoaWxhcmFpLXByb2QxMDEiLCJzZXNzaW9uIjoiMTI4MWE5NmNmNTNjMzNlOGU1MjlkNzU1Iiwic3NuX2V4cCI6MTczMjIwNjU2ODgzNCwiaXRlcmF0aW9uIjoiNjNiNmViOWZmMTJmNzBhZGVmMjVmZjg2IiwidHJpYWwiOnRydWV9.XyRnDPjqo1qqHDJy5p2hASwXZR2CMr_CXVaxJ28bxJX9NqC_7nzp3sCqNCFO0ZskdIZaNpPxMf_VXosTKpGTAA", | ||
"refreshToken": "SAMPLE_eyJ0eXBlIjoicmVmcmVzaCIsImtpZCI6ImU1MTQ1ZGJkLWRjZmItNGYyOC04NzcyLWY1ZjYzZTM3MDNiZSIsImFsZyI6IkVTMjU2In0.eyJpYXQiOjE3MzIxMjAxNjgsIm5iZiI6MTczMjEyMDE2OCwiZXhwIjoxNzMyMTIxOTY4LCJ0eXBlIjoicmVmcmVzaCIsInVzZXIiOiJjaGlsYXJhaS1wcm9kMTAxIiwic2Vzc2lvbiI6IjEyODFhOTZjZjUzYzMzZThlNTI5ZDc1NSIsInNzbl9leHAiOjE3MzIyMDY1Njg4MzQsIml0ZXJhdGlvbiI6IjYzYjZlYjlmZjEyZjcwYWRlZjI1ZmY4NiIsInRyaWFsIjp0cnVlfQ.wo1wsJWQz9OlvPwFjMqr7GzYjSt1h4qpeFn-9jeCdp82qhVCkyEitJ27nateUXT2ZZ5qUfuV-lWRiKAwdbJo0A", | ||
"accessTokenExpires": 1732121668835, | ||
"refreshTokenExpires": 1732121968835 | ||
} |
Oops, something went wrong.