Set of smart contracts needed for mysterium identity registration and working with payment channels (using payment hubs).
We're using truffle for smart contract compilation and running tests.
npm install
ganache
. Make sure to use version greater than 6.12.2.npx ganache-cli --port 8545 --mnemonic "amused glory pen avocado toilet dragon entry kitchen cliff retreat canyon danger"
npm test
npm run migrate
Registry smart contract:
Hermes smart contract
Implementation addresses:
0x213a1B1d08F2715aE054ade98DEEd8a8F1cc937E
0x4f7265afc1373317975a306023574BE5Ec87157A
0x25882f4966065ca13b7bac15cc48391d9a4124f6
0x813d3A0ef42FD4F25F2854811A64D5842EF3F8D1
0x6b423D3885B4877b5760E149364f85f185f477aD
0xBd20839B331A7A8d10e34CDf7219edf334814c4f
MYSTT test token:
Registry smart contract:
Hermes smart contract:
Implementation addresses:
0x72227c86B8B6C0cA292C3631679a5DdB20433cb3
0x1aDF7Ef34b9d48DCc8EBC47D989bfdE55933B6ea
0xf8982Ba93D3d9182D095B892DE2A7963eF9807ee
0xaC69E0C98A688E35698630Eb0c741eB2A2fc5eF1
0x6FE3E5e5008e49821BF7282870eC831BA9694dDB
All v3 related Smart Contracts are deployed by Hermes Operator
To be able easily call these smart contract out of any software writen in Go you need to generate golang bindings and import payments
package into your software.
payments
repo and in go.gen
set tag and which artifacts to build.mage generate
.