rocklabs-io / omnic

Omnic protocol repo
25 stars 7 forks source link

How do you obtain the Omnic address #29

Open cymqqqq opened 1 year ago

cymqqqq commented 1 year ago

Hi, I have read all the omnic code but I can not find where the omnic address obtained how do you generate the omnic address?

ccyanxyz commented 1 year ago

You mean omnic contract address on Ethereum?

cymqqqq commented 1 year ago

yes, correct. like this: dfx canister --network ic call proxy add_chain "(80001:nat32, vec {\"https://polygon-mumbai.g.alchemy.com/v2/0QCHDmgIEFRV48r1U1QbtOyFInib3ZAm\"}, principal \"$(dfx canister --network ic id mumbai-gateway)\", \"2F711bEbA7a30242f4ba24544eA3869815c41413\", 28370114:nat64)" so, if I want to add an evm testnet to config.json for myself, how can I get the omnic contract address?("2F711bEbA7a30242f4ba24544eA3869815c41413\")