Steem Engine Token Transfer Script
You will need to change some inputs in app.js
You can download the code at:
https://github.com/steemdevelopment/ssc_transfer_script
const dsteem = require('dsteem');
const client = new dsteem.Client('https://api.steemit.com');
const account = 'steemdevelopment'; // Change to your username
const active_key = 'key'; // change to your active key
const token_symbol = 'FREEX'; // change to your coin symbol that you want to transfer
const to_person = 'freedomex'; // change to the person who will receive coins from you
const token_amount = '1.335'; // change to the amount of tokens you wish to send
const transaction_memo = 'Exchange Testing'; // change to memo you want to put
const custom_json = (my_id, my_data) => {
const key = dsteem.PrivateKey.fromString(active_key);
client.broadcast.json({
required_auths: [account],
required_posting_auths: [],
id: my_id,
json: JSON.stringify(my_data),
}, key).then(
result => { console.log(result) },
error => { console.error(error) }
)
};
custom_json('ssc-mainnet1', {'contractName':'tokens', 'contractAction':'transfer','contractPayload':{'symbol': token_symbol,'to': to_person,'quantity': token_amount,'memo': transaction_memo}});
Thank you for your contribution @steemdevelopment It looks like this is your first contribution on utopian! well done.
Looking forward to your next contribution!
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Thank you for your review, @justyy! Keep up the good work!
✅ Enjoy the vote! For more amazing content, please follow @themadcurator for a chance to receive more free votes!
Hi @steemdevelopment!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Hello @steemdevelopment! This is a friendly reminder that you have 3000 Partiko Points unclaimed in your Partiko account!
Partiko is a fast and beautiful mobile app for Steem, and it’s the most popular Steem mobile app out there! Download Partiko using the link below and login using SteemConnect to claim your 3000 Partiko points! You can easily convert them into Steem token!
https://partiko.app/referral/partiko