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

linking smartbch epochs to bch testnet #9

Open
allenday opened this issue Jun 1, 2021 · 2 comments
Open

linking smartbch epochs to bch testnet #9

allenday opened this issue Jun 1, 2021 · 2 comments

Comments

@allenday
Copy link
Contributor

allenday commented Jun 1, 2021

reading this https://docs.smartbch.org/smartbch/developers-guide/staking it talks about staking BCH

Is this something that can be replicated in the dev env, per the docker build?

Do I need to set up a BCH testnet? If so, how to link it? Can we get this added to the docker-compose config?

@wangkui0508
Copy link
Contributor

Now we are using a fake BCHN client to test the staking logic. We'll soon work with BTC.com to test staking logic with a private BCH testnet.
We do not recommend to use docker to run smartbchd in production. Docker is only used for test and dev of DApps.
And for testing, staking is not necessary. So I think we do not need to add staking-related stuff to docker-compose config.

@zquestz
Copy link
Contributor

zquestz commented Sep 2, 2021

Now we are using a fake BCHN client to test the staking logic. We'll soon work with BTC.com to test staking logic with a private BCH testnet.
We do not recommend to use docker to run smartbchd in production. Docker is only used for test and dev of DApps.
And for testing, staking is not necessary. So I think we do not need to add staking-related stuff to docker-compose config.

I would highly recommend reconsidering this. Almost all exchanges run their nodes in Docker. You should be optimizing to make sure your app is easy to deploy with Docker to make it easier for everyone in the community to run a node with full functionality.

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

3 participants