TRC21 on XDC (Pre paid contracts) - New easy implementation

Hello friends, Very happy to be starting work with the XDC network.

Analyzing the sources, I saw the possibility of creating tokens prepaid by the creator or third party, which is a solution that goes beyond EIP-4337, allowing other types of applications (IOT) for example to be implemented in a very practical way, in addition to the ERC20 itself, which can have its operation prepaid with this standard inherited by the network.

The technology in question is already available on the testnet, mainnet and subnet, simply by publishing the contract.

The contract is on github:
XDPoSChain/contracts/trc21issuer/contract/TRC21Issuer.sol at master · XinFinOrg/XDPoSChain · GitHub

It needs to be published and in this case, the constants.go file needs to have its address adjusted to the address within the XDC network, as it has an address used in another network.

XDPoSChain/common/constants.go at master · XinFinOrg/XDPoSChain · GitHub

I think it is worth adjusting existing contracts and leaving the technology running, as it is now on the blockchain and deactivated due to non-publication of the due contracts. I even published it, but the nodes needed mutual agreement to update the executable or run a patcher.

Hugs
Wagner Nunes
CTO C9Coin

2 Likes