-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(arweave): reintroduce arweave code (#1281)
* feat(arweave): reintroduce arweave code * improve: include explorer url for arweave * improve: execute calls in parallel * nit: EOL * nit: add timing * fix: re-run circle-ci Signed-off-by: james-a-morris <[email protected]> * fix: use debug * chore: bump sdk version * chore: parallelize arweave set/balance --------- Signed-off-by: james-a-morris <[email protected]>
- Loading branch information
1 parent
2b54331
commit 1215fe1
Showing
10 changed files
with
215 additions
and
11 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
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
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,37 @@ | ||
import { number, object, optional, string } from "superstruct"; | ||
|
||
export type ArweaveWalletJWKInterface = { | ||
kty: string; | ||
e: string; | ||
n: string; | ||
d?: string; | ||
p?: string; | ||
q?: string; | ||
dp?: string; | ||
dq?: string; | ||
qi?: string; | ||
}; | ||
|
||
export type ArweaveGatewayInterface = { | ||
url: string; | ||
protocol: string; | ||
port: number; | ||
}; | ||
|
||
export const ArweaveWalletJWKInterfaceSS = object({ | ||
kty: string(), | ||
e: string(), | ||
n: string(), | ||
d: optional(string()), | ||
p: optional(string()), | ||
q: optional(string()), | ||
dp: optional(string()), | ||
dq: optional(string()), | ||
qi: optional(string()), | ||
}); | ||
|
||
export const ArweaveGatewayInterfaceSS = object({ | ||
url: string(), | ||
protocol: string(), | ||
port: number(), | ||
}); |
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
Oops, something went wrong.