EIP-27 got successfully activated @ block # 777,217 . Now the biggest question for pools and miners is how to handle rewards and payments.
In the first place, note that emission in Ergo is done via a contract (releasing ERGs each block according to a schedule set in the contract). After EIP-27 soft-fork, re-emission tokens are attached to mining rewards outputs, where 1 re-emission token is about 1 nanoERG (to be sent to re-emission contract via a proxy pay-to-reemission contract).
So now mining reward transaction looks like this:
https://explorer.ergoplatform.com/en/transactions/65511db3eeecf5e0c0b6b3499a2a58b8064760a22e9b6cc53329e3be9875f640
So get pure ERG reward from miner’s outputs, it is needed to subtract reemission tokens ( d9a2cc8a09abfaed87afacfbb7daee79a6b26f10c6613fc13d3f3953e5521d1a tokens) from miner’s output value (in nanoERGs), and in this example we’re getting 51 ERG reward.
The node has emission/at method to get mining reward for block at given height:
curl -X GET "http://213.239.193.208:9053/emission/at/777400" -H "accept: application/json"
returns:
{
"height": 777400,
"minerReward": 51000000000,
"totalCoinsIssued": 56449788000000000,
"totalRemainCoins": 41290137000000000,
"reemitted": 12000000000
}
If you use the node for payouts, please set
ergo {
wallet {
checkEIP27 = true
}
}
and the wallet will automatically handle re-emission tokens. Otherwise, burn re-emission tokens when you have them in (mining rewards) inputs, and send the same number of nanoERGs to pay-to-reemission contract (it P2S address is 6KxusedL87PBibr1t1f4ggzAyTAmWEPqSpqXbkdoybNwHVw5Nb7cUESBmQw5XK8TyvbQiueyqkR9XMNaUgpWx3jT54p for the mainnet).