This tutorial describes how to setup a local steemd
node to use with
piston. This allows to speed up your development since your run your own
API node.
Installation of
steemd
There are plenty of resources on Steem on how to installsteemd
:
Configuration
Piston requires a couple APIs to be enabled in the configuration. Theconfig.ini
for the piston.rocks machine currently looks like this:rpc-endpoint = 127.0.0.1:5090 seed-node=52.38.66.234:2001 seed-node=52.37.169.52:2001 seed-node=52.26.78.244:2001 seed-node=192.99.4.226:2001 seed-node=46.252.27.1:1337 seed-node=81.89.101.133:2001 seed-node=52.4.250.181:39705 seed-node=85.214.65.220:2001 seed-node=104.199.157.70:2001 seed-node=104.236.82.250:2001 seed-node=104.168.154.160:40696 seed-node=162.213.199.171:34191 seed-node=seed.steemed.net:2001 seed-node=steem.clawmap.com:2001 seed-node=seed.steemwitness.com:2001 seed-node=steem-seed1.abit-more.com:2001 enable-plugin = account_history enable-plugin = follow enable-plugin = market_history enable-plugin = private_message enable-plugin = tags public-api = database_api login_api market_history_api tag_api follow_api
However, since piston evolves over time, we would ask to follow the official config.ini
Syncing the network
With the configuration above, you can start thesteemd
process and wait for it to fully sync. The seed nodes provided will help your link up with the P2P network quickly.Configure
piston
Piston can easily be configured to use any API node not justthis.piston.rocks
. You can change the API node by runningpiston set node ws://localhost:5090
assuming the
steemd
process is running on the same machine and exposes port5090
(line 1 in theconfig.ini
)Have fun
awesome thx... I will switch my piston to
piston set node ws://localhost:5090
Will this also automatically set this for python-steem usage from there onwards, yes right?
Nop. the python-steem package always required and will always require that you define a node manually.
Only piston has a "default" API node hard coded for convenience
@xeroc I think those links are broken... missing "steemit.com"
https://steemit.com/steem/@woung717/the-complete-guide-to-setup-steem-development-environment-in-ubuntu
https://steemit.com/steemhelp/@proctologic/easy-install-steemd-in-ubuntu
https://steemit.com/steem/@geoffrey/steem-mining-comprehensive-guide
https://steemit.com/steem/@adoal/easy-and-portable-steem-install-script-speeded-up-with-ninja-build
Still have npt get the mining to work for windows pc. Thanks for references.
way above my head! lol
A PERFECT use of animation !
Well done!
@xeroc, i want collect some statistic from network. But stream_comments show only new posts and comments.
In which direction to look, to collect more comprehensive statistics?
Like.. upvotes, transactions,awards for posts or comments and etc... ?
Thanks.
e-mail me.
faddat@gmail.com
I will make servers available to you where you can do that.
Ha Ha
Funny Cartoon!!
nice one @xeroc
amazing mate :) Tkx