Note: If the destination chain will use lock instead of burn for token managment, must be set up as EthNetwork. To do that go to protocol-contracts/lib/contracts.helpers.ts and add it to isEthNetworkName method
Run npx hardhat scripts/deployments/core/deterministic-deploy-zeta-token.ts --network YOUR_NETWORK
Run npx hardhat scripts/deployments/core/deterministic-deploy-zeta-connector.ts --network YOUR_NETWORK
Run npx hardhat scripts/deployments/core/deterministic-deploy-erc20-custody.ts --network YOUR_NETWORK
UPDATE: after the code freeze the three scripts will be compacted into only one.
@andresaiello based on your notes:
lock
instead ofburn
for token managment, must be set up asEthNetwork
. To do that go to protocol-contracts/lib/contracts.helpers.ts and add it toisEthNetworkName
methodnpx hardhat scripts/deployments/core/deterministic-deploy-zeta-token.ts --network YOUR_NETWORK
npx hardhat scripts/deployments/core/deterministic-deploy-zeta-connector.ts --network YOUR_NETWORK
npx hardhat scripts/deployments/core/deterministic-deploy-erc20-custody.ts --network YOUR_NETWORK