This post will aggregate a list of current web3 providers, contract address, ABI and SubnetDAO domains.
AragonApp demo:
Metamask needs some configuration:
- Add custom rpc node with the url:
http://138.68.1.93:8545
- Import private key:
a8a54b2d8197bc0b19bb8a084031be71835580a01e70a45a13babd16c9bc1563
Demo: http://138.68.1.93:3000/#/0x52f47026325758f9D4497AeECd693c24BB769582/settings
You need to change the aragon app settings:
- set ethereum node to:
ws://138.68.1.93:8545
- set ipfs to:
http://138.68.1.93:8080/ipfs
Web3
- ws:
http://sasquatch.network:9546
- rpc
http://sasquatch.network:9545
Contract
-
Contract owner: 0x642118388d934533992dcfaa7fc7c62f64d0edba
-
Existing members:
- Ethereum: 0x642118388d934533992dcfaa7fc7c62f64d0edba
- ipv6: 0xfd5d7c57433007f04b2e5281361a01d9
-
ABI: https://github.com/Sebohe/aragon-node-list/blob/master/contracts/NodeList.json
(Aragon app deploys the ABI on IPFS. Still need to figure out how to find it) -
Curl request:
-
JSON-RPC documentaion: https://github.com/ethereum/wiki/wiki/JSON-RPC
-
useful tool for generating the data field: https://github.com/paritytech/ethabi
-
ethabi example (note that the output doesn’t have the
0x
prefix):-
ethabi encode function contracts/NodeList.json getMember -p fd5d7c57433007f04b2e5281361a01d9
-
-
Curl request example:
-
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_call","params":[{"to": "0xf7402c9b6ee98acb1b7d131607108d1f15b552cd", "data": "0x376679b0fd5d7c57433007f04b2e5281361a01d900000000000000000000000000000000"}, "latest"],"id":1}' http://sasquatch.network:9545
-
-
SubnetDAO
- pending…