Created
May 12, 2020 07:42
-
-
Save ety001/207f3e3e847eca42f48464db4f10921c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const steem = require('steem'); | |
steem.api.setOptions({ url: 'https://s2.61bts.com' }); | |
const ac_key = ""; | |
const user = ""; | |
const keys = {active: ac_key}; | |
const op = [ | |
"claim_account", | |
{ | |
"fee": "0.000 STEEM", | |
"creator": user, | |
"extensions": [] | |
} | |
]; | |
const tx = { | |
extensions: [], | |
operations: [ | |
op | |
] | |
}; | |
steem.broadcast.send(tx, keys, (r) => { | |
console.log(r); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment