【问题标题】:What is the NEAR Protocol version of ERC20 tokens?ERC20 代币的 NEAR 协议版本是什么?
【发布时间】:2020-09-27 04:06:41
【问题描述】:

ERC20 代币标准 (https://eips.ethereum.org/EIPS/eip-20) 定义了可替代代币。 NEAR 的版本是什么?

【问题讨论】:

    标签: nearprotocol


    【解决方案1】:

    NEAR 协议的 ERC 标准版本称为 NEP(“NEAR 增强提案”)。该 repo 可在https://github.com/nearprotocol/NEPs 获得(可能会移至https://github.com/near/NEPs)。

    可替代代币的具体标准,类似于ERC20,称为NEP21

    编辑:Reference walkthrough in the NEAR docs

    作为参考,类似于ERC721可替代代币标准是NEP4

    【讨论】:

      【解决方案2】:

      实际上,这些是 NEP21 的可替代令牌 (ERC20) 的更好参考

      https://github.com/near-examples/FT

      和相关的 NFT(ERC721 或 NEP4)

      https://github.com/near-examples/NFT

      【讨论】:

        猜你喜欢
        • 2021-08-13
        • 2021-05-14
        • 2019-02-09
        • 2020-01-23
        • 1970-01-01
        • 2018-04-04
        • 2021-03-22
        • 2022-09-29
        • 2021-11-20
        相关资源
        最近更新 更多