Imported from https://github.com/Synthetixio/synthetix-cli/
A set of cli utilities for the Synthetix protocol
Clone repo and install npm.
The interactive UI is the most useful:
--helpfor more features (including a testnet, the OVM, or adding private key if you want to transact)
node src/commands/<a-command.js> --help
Linking with a local Synthetix repo¶
This allows the cli to use deployment.json files from a local sytnethix repo, i.e. allowing you to use the cli on non-official deployments.
1 2 3 4 5
By default, uses Ethers default Ethereum provider, but this provider is most likely saturated at any time. To specify your own infura provider, copy
.env and set PROVIDER_URL. Note that "network" will be replaced by the network a command is run in.