Since I'm no longer working for Steemit, Inc., I want to show you one of the things I've been working on. It's actually a personal "spare time" project but it's tied very closely with one of the projects I was working on at my former day job.
Basically, it's a toy blockchain that tracks the mainnet using tools provided by Tinman. I would use it to verify features in other repos I was working on that needed a live blockchain. It requires Docker to launch. If all you want is a local node to point at, it's perfect. But it also deploys its own Condenser instance so you can take a peek at the current state with very little tooling.
I call it Tin Toy, like the Pixar short from 1988 (minus the weird baby).
Tin Toy
Tin Toy - A tiny Steem testnet based on tinman by Steemit, Inc.
Quickstart
docker run -d -P inertia/tintoy:latest
As Seen from Kitematic
From the Gist
If you want to modify the scripts before deploying:
git clone https://gist.github.com/b88e7bfff8862858e54c59392e2bce20.git tintoy
cd tintoy
docker build -t myname/tintoy:mybranch
docker run -d -P myname/tintoy:mybranch
For example, you can modify the first line of Dockerfile
to switch versions of steemd
.
Tin Toy uses:
FROM steemit/steem:master
But you can switch to any branch and try it out. Suggested branches to try can be found in steem/branches/active.
Say we want to take a look at a branch like 3103-delegation-pools
. Change the first line of the Dockerfile
to:
FROM steemit/steem:3103-delegation-pools
Then build and run. At the time of writing, issue #3103 added basic functionality of delegation pools, but was not yet merged to master
, so this is a great way to get an early peek of branches still in development.
Shell In
- Use
docker ps
to get the name of the existing container. - Use the command
docker exec -it <container name> /bin/bash
to get a bash shell in the container.
How to Use
Once the docker container has fully deployed, you'll have access to various port. Internally, the docker container responds to:
Port | Purpose |
---|---|
2001 | p2p |
8080 | condenser |
8091 | json-rpc |
5000 | tinman server (if enabled) |
If you launched with -P
(ephemeral ports enabled), you can get a list of ports:
docker ps
Which might return something like:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
290810dba18e inertia/tintoy:latest "/bin/sh -c /app/boo…" 5 minutes ago Up 5 minutes 0.0.0.0:32832->2001/tcp, 0.0.0.0:32831->8080/tcp, 0.0.0.0:32830->8090/tcp, 0.0.0.0:32829->8091/tcp tintoy
Embedded Condenser
From the port list we can determine the external port for condenser. For port 8080
, this example uses port 32831
. Therefore, the URL to access condenser is:
http://localhost:32831
Remember, this changes whenever you execute with -P
.
Wait, what? I hate to pry, but why aren't you working with Steemit anymore? If you're allowed to respond to that, anyways.
Knowing someone as competent as you was on deck is something that made me continue to count on this whole structure.
Feel free to disregard.
Also, this rules. My uncle that used to work on watches/clocks was also into old-school tin toys and some of them were pretty impressive. Show us more of this guy!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
So, I wasn't really given much information. They said it didn't have anything to do with my performance. Some people get all emotional over jobs. As an investor in the blockchain, I'm glad the main blockchain development company for STEEM is able to make the tough calls and keep priorities. If they asked me to come back, I would.
On the bright side, I can play Steem Monsters in the middle of the day!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The last thing I'd assume was performance. If anyone knows you, they know your contribution/capabilities/dedication.
I hope they ask you to come back. I'm currently powering down in anticipation of shuffle (to acquire a larger position here, well, I hope) and one way to ensure that my liquidity comes back to Steem and isn't retained in BTC is to keep folks like you on deck. Personable people who have a presence and are real and are skilled and are truly vested here.
Not being a nay-sayer, but my faith in the chain has, to an extent, dwindled a bit after hearing this news.
I know you've contributed quite a lot without even being employed by Steemit Inc., please don't let that stop!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Yeah, I'm in Steem for the long haul.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Gives me hope when I see this. Especially after using several precious BTC into buying STEEM and watching it tank with the market. Thank you for all your work man.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Didn't even give you a reason? Sounds typical of the communications style. You're taking it well though.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The reason given to me was that my department needed to be cut by 50%. I could have asked questions but it was obvious to me that there were financial concerns.
It's just the nature of startups, crypto-startups doubly so.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
That's fair, I misunderstood you. Thanks for the clarification.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This is cool, certainly helps with testing and development.
I had no clue you were ever working for Steemit, INC.
Still using drdoogie !!! 👍
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Wow, drdoogie still works? I need to at least update those gems, I'd imagine.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Yup! The dream lives on!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I guess it isn't that far behind. It just needs the newest version of radiator. FYI, if you want to bump it yourself, just do:
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downloading and playing with this is a pure-joy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I guess your tool is my only "easy" way to get a chance to play with a testnet as the "live" testnets aren't live anymore...
Thanks @inertia, going to give it a try!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I'm not able to view the Kitematic on imgur.
$rewarding 13min 75%
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks. That image should load now.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hello @inertia😊
When should we be expecting the mainnet? And also, is it possible to access the testnet now. I'm just curious to know what that thiny man is all about...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The mainnet likely won't get a hardfork for a few months. Here are details for accessing the official testnet and/or running your own node:
https://steemit.com/hardfork20/@steemitdev/hardfork-20-testnet-details
But if all you want is a local node to point to for testing stuff really quickly, it might be overkill to run on the official testnet, and that's why I came up with tintoy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi, @inertia!
You just got a 2.67% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @inertia!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 6.465 which ranks you at #165 across all Steem accounts.
Your rank has not changed in the last three days.
In our last Algorithmic Curation Round, consisting of 225 contributions, your post is ranked at #4.
Evaluation of your UA score:
Feel free to join our @steem-ua Discord server
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit