-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pebble project file and operator doc
- Loading branch information
1 parent
6628bdd
commit 787aedd
Showing
2 changed files
with
40 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### Prerequisites | ||
|
||
https://github.com/foundry-rs/foundry | ||
need the tools for interacting with smart contracts | ||
|
||
### Mainnet | ||
|
||
#### Endpoint | ||
https://dragonfruit-mainnet.w3bstream.com/v1/task | ||
|
||
#### bind w3bstream project | ||
```bash | ||
cast send 0x425D3FD5e8e0d0d7c73599adeb9B395505581ec7 "register(uint256)" 6 --private-key "your private key" --rpc-url "https://babel-api.mainnet.iotex.io" --legacy | ||
``` | ||
```bash | ||
cast send 0x6EF4559f2023C93F78d27E0151deF083638478d2 "updateConfig(uint256,string,bytes32)" 6 ipfs://ipfs.mainnet.iotex.io/QmQfaXAr7ZHbn1inDKigx9GcaHkZqxJiiHsA81GfCTRYZ6 0x9273b57144d4df4c6fb2a5850a1a95891c1b12f92d06909d875c3a4afe18bae4 --private-key "your private key" --rpc-url "https://babel-api.mainnet.iotex.io" --legacy | ||
``` | ||
```bash | ||
cast send 0x6EF4559f2023C93F78d27E0151deF083638478d2 "resume(uint256)" 6 --private-key "your private key" --rpc-url "https://babel-api.mainnet.iotex.io" --legacy | ||
``` |
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,20 @@ | ||
{ | ||
"defaultVersion": "v1", | ||
"config": [ | ||
{ | ||
"version": "v1", | ||
"vmTypeID": 1, | ||
"proofType": "liveness", | ||
"signedKeys": [ | ||
{ | ||
"name": "timestamp", | ||
"type": "uint64" | ||
} | ||
], | ||
"signatureAlgorithm": "ecdsa", | ||
"hashAlgorithm": "sha256", | ||
"metadata": "ipfs://ipfs.mainnet.iotex.io/QmVzFDBXsixjSEdqziCDJe3UnGqUGqmCXXb3FZrySjr8Gh", | ||
"code": "ipfs://ipfs.mainnet.iotex.io/QmfY8NooLr89X8HYnVC8ueZAVjMiBwWi4WmxvBivV1drRo" | ||
} | ||
] | ||
} |