@reality.eth/contracts 3.0.33 → 3.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/chains/chainid.network.json +2079 -115
- package/chains/deployments/534353/ETH/RealityETH-3.0.json +6 -0
- package/chains/deployments/534353/SETH/RealityETH-3.0.json +6 -0
- package/chains/supported.json +3 -0
- package/generated/chains.json +23 -3
- package/generated/contracts.json +18 -0
- package/generated/tokens.json +1 -0
- package/package.json +2 -2
- package/scripts/deploy.js +9 -1
- package/tokens/ETH.json +1 -0
package/README.md
CHANGED
|
@@ -70,6 +70,10 @@ To deploy contracts using the code compiled under contracts/bytecode, use
|
|
|
70
70
|
|
|
71
71
|
`$ node deploy.js <RealityETH|Arbitrator|ERC20> <network> <token_name> [<dispute_fee>] [<arbitrator_owner>]`
|
|
72
72
|
|
|
73
|
+
If you prefer to keep your secret keys somewhere else you can pass it as an environment variable, eg
|
|
74
|
+
|
|
75
|
+
`$ SECRETS=/home/ed/secrets node deploy.js <RealityETH|Arbitrator|ERC20> <network> <token_name> [<dispute_fee>] [<arbitrator_owner>]`
|
|
76
|
+
|
|
73
77
|
This will add contract addresses to the existing deployed contract .json definitions, and deploy per-token versions in the format expected by the `@reality.eth/dapp` ui.
|
|
74
78
|
|
|
75
79
|
Supported networks are hard-coded in the `deploy.js` file. You may also wish to edit it to alter gas limits, etc.
|