Ethereum developer Paul Berg revealed a proposal for a number of native tokens on Ethereum that he says will enhance consumer expertise when transferring tokens, make native monetary merchandise simpler to implement, and enhance the potential for innovation in Ethereum Layer 2 functions.
Known as EIP-7809, the proposal will add a backward-compatible extension to the EVM that may permit fungible tokens to function with “native-like” properties if it passes Ethereum’s course of for approving new proposals.
Ether (ETH) already capabilities as Ethereum’s native token. Almost each different Ethereum-based token was constructed on high of the community with out together with a lot of the similar “native” qualities that ETH has.
This limits capabilities akin to direct token transfers utilizing opcodes and transferring a number of tokens in a single contract name. EIP-7809 introduces 4 new opcodes:
MINT & BURN, which permits token provide administration via (clearly) minting and burning tokens
BALANCEOF for checking token balances
NTCALL for token transfers that require calling a contract
NTCREATE for making a contract that features upfront token deposits
The brand new EIP additionally proposes changing the “value” subject with “(token_id, token_amount)” pairs. This new variable shall be bundled with “transferred_tokens_length” within the “native_tokens_list” ingredient.
Berg says this proposal arose from work on the now-discontinued Sablier Mainnet. The mainnet would have supplied an infrastructure for token distribution. Sablier determined to launch on the L2 platform Morph as an alternative.
One critic on EIP-7809’s GitHub web page mentioned components of the proposal have been redundant as a result of similarities with earlier proposals. EIP-223 already proposes a typical that “allows payloads to be attached to transactions using the bytes calldata data parameter, which can encode a second function call in the destination address, similar to how msg.data does in an ether transaction.”
EIP-223’s calldata_data parameter sounded much like the NTCALL opcode.
EIP-1155 describes one other proposed methodology for transferring a number of tokens in a single name. EIP-1363 describes a way for executing a contract after a token switch with out having to pay a gasoline charge twice.
Similarities to capabilities which might be already accessible on the Solana blockchain have been duly famous. Solana launched the Token Program and Token Extensions to develop a standard implementation for viewing and managing Solana-based tokens.
This proposal may not have an effect on the precise provide of ETH until the builders resolve to make use of the MINT & BURN opcode to regulate it. MINT & BURN possible makes use of the proposal’s “token_id,” or distinctive sensible contract handle.
One commenter instructed altering ETH’s token ID to 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee, a worth they mentioned was already utilized by a number of decentralized exchanges.
If Berg’s EIP-7809 proposal passes, ETH might quickly change into considered one of many native or “native-like” tokens on Ethereum. It may assist simplify token provide administration, checking token balances, and token transfers that need to work together with a contract.