Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible provisioning a live evm chain with this repo? #28

Open
yrong opened this issue Aug 31, 2022 · 0 comments
Open

is it possible provisioning a live evm chain with this repo? #28

yrong opened this issue Aug 31, 2022 · 0 comments

Comments

@yrong
Copy link

yrong commented Aug 31, 2022

const ganacheOptions = {
database: { dbPath: options.dbPath },
wallet: {
accounts: accounts,
},
chain: {
chainId: chain.chainId,
networkId: chain.chainId,
vmErrorsOnRPCResponse: true,
},
logging: { quiet: true },
};
merge(ganacheOptions, options.ganacheOptions);
chain.ganacheProvider = require('ganache').provider(ganacheOptions);
chain.provider = new providers.Web3Provider(chain.ganacheProvider);

seems replace ganache provider with a json-rpc provider should be fine,right? is it possible that we can do some refactor and reuse most of this repo to provisioning a live chain and deploy contracts required here https://github1s.com/axelarnetwork/axelar-local-dev/blob/HEAD/src/contracts/Gateway.sol

PS:
I'm developer from Parallel team and working on cross-chain integration with axelar bridge, now just copy and paste contracts and scripts for integration in this repo and hope to find a way not doing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant