Token Standards
Token Standards
In this section, we will dive deep into the various token standards supported by ENI. Understanding these standards is crucial for developers as they form the foundation of many decentralized applications.
ENI supports four primary token types:
ENI Token
Smart Contract Tokens
ENI Token
The ENI token is the native token of the ENI blockchain, serving multiple roles within the ecosystem.
Fee Token: Used to pay transaction fees on the ENI network.
Governance Token: Used to participate in governance decisions that affect the network.
EVM
1 ENI = 10**18 wei = 1000000000000000000 wei
1 ENI = 10**9 wei = 1000000000 gwei
(giga-wei)
Fungible Tokens
Fungible tokens are digital assets that are interchangeable and lack unique characteristics. ENI supports both ERC20 and CW20 fungible token standards, allowing developers to choose between using the native TokenFactory or creating tokens via smart contract standards.
Smart Contract Tokens
ERC20: The ERC20 standard defines a common set of rules for fungible tokens on EVM-based blockchains. These tokens can be transferred, approved, and queried using standard functions.
Interoperability: Both standards support pointer contracts, enabling seamless interaction between the native environment and the EVM environment.
Recommended Use: Suitable for applications requiring standard token interactions with existing dApps and maximum compatibility.
NFTs
Non-fungible tokens (NFTs) represent unique digital assets. ENI supports the ERC721 standard, along with its royalty counterpart (2981).
ERC721: The ERC721 standard defines the structure for non-fungible tokens on EVM-based blockchains. Each token is unique and cannot be exchanged on a one-to-one basis like fungible tokens.
ERC2981: This standard defines royalty mechanisms for NFTs, ensuring creators receive a percentage of sales.
Interoperability: Similar to fungible tokens, NFTs can interact across different standards via pointer contracts.
Pointer Contract Registry: A registry used to track pointer contracts specific to NFTs.
Last updated