Open allenday opened 3 years ago
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.
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.
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?