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

Deploying Contracts on Sei rather than Osmosis #117

Open
npjd opened this issue Feb 11, 2023 · 7 comments
Open

Deploying Contracts on Sei rather than Osmosis #117

npjd opened this issue Feb 11, 2023 · 7 comments

Comments

@npjd
Copy link

npjd commented Feb 11, 2023

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

@iboss-ptk
Copy link
Collaborator

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.

@vyuldashev
Copy link

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

@iboss-ptk
Copy link
Collaborator

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

@dzmitry-lahoda
Copy link
Contributor

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

@iboss-ptk
Copy link
Collaborator

what are the errors? @dzmitry-lahoda

@dzmitry-lahoda
Copy link
Contributor

my current errors are these #122

@dzmitry-lahoda
Copy link
Contributor

what is derivation_path ?

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

4 participants