beaker icon indicating copy to clipboard operation
beaker copied to clipboard

Deploying Contracts on Sei rather than Osmosis

Open npjd opened this issue 2 years ago • 7 comments

Wondering how it's possible to use beaker toolchain for Sei deployment rather than Osmosis and how to configure chain for it.

Sei docs for reference: https://docs.seinetwork.io/smart-contracts-and-local-development/sei-tool-guide

npjd avatar Feb 11 '23 16:02 npjd

So for Beaker.toml by default this is what it is implied. But you can chnage any of them in your own Beaker.toml and these are the things you might primarily wants to change.

name = ''
gas_price = '0.025uosmo'
gas_adjustment = 1.3
account_prefix = 'osmo'
derivation_path = '''m/44'/118'/0'/0/0'''
[networks.local]
chain_id = 'localosmosis'
network_variant = 'Local'
grpc_endpoint = 'http://localhost:9090'
rpc_endpoint = 'http://localhost:26657'

[networks.testnet]
chain_id = 'osmo-test-4'
network_variant = 'Shared'
grpc_endpoint = 'https://grpc-test.osmosis.zone:443'
rpc_endpoint = 'https://rpc-test.osmosis.zone:443'

[networks.mainnet]
chain_id = 'osmosis-1'
network_variant = 'Shared'
grpc_endpoint = 'https://grpc.osmosis.zone:9090'
rpc_endpoint = 'https://rpc.osmosis.zone:443'

I'm open for idea like, making multiple base configs and able to do:

base = "osmosis"

or

base = "sei"

contributions are welcome.

iboss-ptk avatar Feb 13 '23 11:02 iboss-ptk

@iboss-ptk It would be cool if network settings override derivation_path, gas_price, etc.

vyuldashev avatar Feb 21 '23 04:02 vyuldashev

sounds like a good idea! @vyuldashev PR is very welcome, it should not be hard to do! Let me know if you need any assist

iboss-ptk avatar Feb 22 '23 08:02 iboss-ptk

i tried other chain, changed config, got weird errors. any example of having not osmosis?

dzmitry-lahoda avatar Jun 06 '23 23:06 dzmitry-lahoda

what are the errors? @dzmitry-lahoda

iboss-ptk avatar Jun 08 '23 12:06 iboss-ptk

my current errors are these https://github.com/osmosis-labs/beaker/issues/122

dzmitry-lahoda avatar Aug 16 '23 20:08 dzmitry-lahoda

what is derivation_path ?

dzmitry-lahoda avatar Aug 16 '23 20:08 dzmitry-lahoda