
Using one command, you can deploy Tin Toy and play around with a tiny toy version of the Hive blockchain:
docker run -d -p 8091:8091 inertia/tintoy:latest
This is handy for developers who want to test their applications without having to use the mainnet. It's also nice because you don't need to rely on anyone to run a public testnet. It only takes a few minutes to get up and running.
Once you have your testnet up and running, you can check exactly which version you're on using:
curl -s --data '{
"jsonrpc":"2.0",
"method":"database_api.get_version",
"params":{},
"id":1
}' http://localhost:8091 | jq
This will return something like:
{
"jsonrpc": "2.0",
"result": {
"blockchain_version": "1.25.0",
"hive_revision": "21ca61a2253a01aeca5debdcdb202ff89feae27c",
"fc_revision": "21ca61a2253a01aeca5debdcdb202ff89feae27c",
"chain_id": "18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e"
},
"id": 1
}
Also see: related gist
To do this without docker, see:
https://developers.hive.io/tutorials-recipes/setting-up-a-testnet.html
I originally announced Tin Toy a couple of years ago:
There are also some extra things you can do with it if you're doing blockchain development or you want to build from a local branch of hived
(though this is a slightly dated article):
@inertia/how-to-do-iterative-steemd-development-on-a-local-testnet