0.0.23 • Published 2 years ago
@brok/sdk2 v0.0.23
BRØK SDK
Use it
npm i @brok/sdk
pnpm i -D @ceramicnetwork/http-client@^2.3.1 @ceramicnetwork/3id-did-resolver@^2.1.4 @ceramicnetwork/common@^2.4.0 @ceramicnetwork/stream-tile@^2.4.0 dids@^3.2.0 did-resolver@^4.0.0 ethers@^5.6.9 neverthrow@^4.3.1 node-fetch@^2.6.7 debug@^4.3.4
Example
const sdk = await SDK.init({
ceramicUrl: "https://ceramic-clay.3boxlabs.com",
ethereumRpc: "https://arbitrum-rinkeby.infura.io/v3/0771265f174543dca52bbe282a69397d",
seed: "test test test test test test test test test test test junk",
theGraphUrl: "https://api.thegraph.com/subgraphs/name/broklab/captable_dev_10"
})
const list = await sdk.listCapTables()
if(list.isOk()){
console.log(`List has ${list.value.capTables.length} items` )
console.log(`Names ${list.value.capTables.map(capTable => capTable.name).join(", ")}` )
}
```
0.0.20
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.23
2 years ago
0.0.19
2 years ago
0.0.18
2 years ago
0.0.17
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago