3

The ERC20 token standard (https://eips.ethereum.org/EIPS/eip-20) defines fungible tokens. What is NEAR's version of this?

2 Answers 2

5

NEAR Protocol's version of ERC standards are called NEPs ("NEAR Enhancement Proposals"). The repo is available at https://github.com/nearprotocol/NEPs (likely will move to https://github.com/near/NEPs).

The specific standard for fungible tokens, which is analogous to ERC20, is called NEP21

Edit: Reference walkthrough in the NEAR docs

For reference, the nonfungible token standard, analogous to ERC721, is NEP4

Sign up to request clarification or add additional context in comments.

Comments

1

actually these are better references for fungible tokens (ERC20) which is NEP21

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

and a related NFTs (ERC721 or NEP4)

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.