RE: [steemit] How to migrate your DAPPS to Hive - Script 2: WHERE IS MY HONEY?? {dsteemJS}

You are viewing a single comment's thread from:

[steemit] How to migrate your DAPPS to Hive - Script 2: WHERE IS MY HONEY?? {dsteemJS}

in hive •  5 years ago  (edited)

You prefer running this as a nodeJs script?


Here are the steps:

  • Download NodeJs on your machine
  • Create a new folder for your project via terminal - eg. mkdir hello-hive
  • Navigate into the newly created folder - eg. cd hello-hive
  • Initialize npm: npm init and (to keep it simple) keep pressing enter until you get back control of the terminal
  • Create a file named index.js, copy my code snippet above and add this 1 line at the top: const dsteem = require('dsteem');
  • Execute: npm install --save dsteem

You can now execute the script running: node index.js

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!