npm ci && npm run generate
Skip if you're going to join an existing network
# See ./scripts/deploy.ts for additional options
npm run deploy -- \
--url https://your.eth.provider:8545 \
--key PRIVATE_KEY_HEX
Skip if you only need a syncing node.
This script will register your public key and setup the states where your proposer will recieve fees when active.
Note that a proposer will need to be active on the hubble network you are joining in order to to create (pack) the new states/deposits. You may also need to create additional deposits (using the contract DepositManager.sol:depositFor
) so that the proposer has enough deposits to pack.
# See ./scripts/feeReceivers.ts for additional options
npm run feeReceivers -- \
--url https://your.eth.provider:8545 \
--key PRIVATE_KEY_HEX
--genesisPath ./genesis.json
--configPath ./your-node-config.json
npm run node -- --configPath ./your-node-config.json
TODO