Tutorial: Earn Passive TRX income
I received passive daily TRX in my wallet every day:
Here is how:
Register STEEM account
If you don't have a STEEM account, you can register one using my tool: https://steemyy.com/reg.php
Power Up and Earn TRX
Start writing posts on Steem Blockchain and remember to choose Power Up 100% to receive TRX per 2 SP claim_rewards operation
You can also upvote good contents (aka curation) and this rewards you SP (Steem Power)
Freeze/Stake TRX
You can do this manually via Tronlink
And then you can choose Stake to Earn Bandwidth or Energy.
This can be done programatically (Stake TRX):
const TrxAccount = "TRX WALLET";
const AppKey = '';
const privateKey = "<KEY>"
const TronWeb = require('tronweb');
const tronWeb = new TronWeb({
fullHost: 'https://api.trongrid.io',
headers: { "TRON-PRO-API-KEY": AppKey },
privateKey: privateKey,
});
function getBalance(acc) {
return new Promise((resolve, reject) => {
tronWeb.trx.getBalance(acc).then(result => {
resolve(result);
})
});
}
(async function() {
const sun = await(getBalance(TrxAccount));
const trx = tronWeb.fromSun(sun);
console.log("Balance of SUN = " + sun + " or " + trx + " TRX");
if (trx >= 1) {
const trans = await tronWeb.transactionBuilder.freezeBalance(sun, 3, "BANDWIDTH", TrxAccount, TrxAccount, 1);
const signedtxn = await tronWeb.trx.sign(trans, privateKey);
const receipt = await tronWeb.trx.sendRawTransaction(signedtxn);
console.log(receipt);
console.log(trx + " TRX frozon!");
} else {
console.log("Not enough to Freeze!")
}
})();
Vote Super Representative
With Staked TRX, you can choose the Super Representatives (similar to Steem Witnesses) to vote. It is recommended to choose those who share 100% rewards.
You can do this via tronlink.
Allocate your votes:
Sign the transaction to confirm the votes:
Claim the Rewards
The Rewards (TRX) can be claimed once per 24 hours. You can do it on tronscan:
And this can be done programatically (Claim TRX Rewards):
const TrxAccount = "TRON WALLET";
const AppKey = '<KEY>';
const privateKey = '';
const fetch = require('node-fetch');
const url = 'https://api.trongrid.io/wallet/withdrawbalance';
const TronWeb = require('tronweb');
const tronWeb = new TronWeb({
fullHost: 'https://api.trongrid.io',
headers: { "TRON-PRO-API-KEY": AppKey },
privateKey: privateKey,
});
async function claimRewards() {
const options = {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
'TRON-PRO-API-KEY': AppKey,
},
body: JSON.stringify({owner_address: TrxAccount, visible: true})
};
const res = await fetch(url, options);
if (res.ok) {
return await (res.json());
}
}
(async function() {
const tx = await claimRewards();
if (tx.Error) {
console.log(tx.Error);
} else {
console.log(tx);
const signedtxn = await tronWeb.trx.sign(tx, privateKey);
const receipt = await tronWeb.trx.sendRawTransaction(signedtxn);
console.log(receipt);
}
})();
And the daily passive TRX rewards can be staked again to earn more!
Conclusion
That is it! Write good contents and upvote (curate) good contents on Steem Blockchain. Then besides the STEEM/SP/SBD, you will have 1 TRX per 2 STEEM.
Stake the TRX, Upvote the SR (Witnesses on Tron), and earn the passive TRX daily.
@steemcurator01
@steemcurator02
@steemcurator03
@steemcurator04
@steemcurator05
@steemcurator06
@steemcurator07
@steemcurator08
@steemcurator09
@steemcurator10
@booming01
@booming02
@booming03
@booming04
@hungry-griffin
Follow me at https://steemyy.com
And, don't forget, you can swap your STEEM to USDT (TRC-20) via Super Easy/Handy Service to Convert your STEEM or SBD to USDT (TRC-20)
I like this initiative to motivate Steemians to power up Steem.
I'm afraid to use my TRX... The first time I used it, I lost it forever...