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

how to set chain_id #2

Open
vazgen opened this issue Mar 20, 2017 · 1 comment
Open

how to set chain_id #2

vazgen opened this issue Mar 20, 2017 · 1 comment

Comments

@vazgen
Copy link

vazgen commented Mar 20, 2017

thank you this awesome lib.

How to set my custom chain_id (as my chain id is missing in config file)?

@vazgen
Copy link
Author

vazgen commented Mar 20, 2017

I did something like this but not sure that it is the correct way

var {ChainConfig, Apis} = require("graphenejs-ws/cjs")

ChainConfig.networks.mytest = {
core_asset: "MYTEST",
address_prefix: "MYTEST",
chain_id: "6af7b83a55a87b52d038aaf9584402edb4ec7624c1b0ec6c80b008e7987f86f2"
};

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