Erik Trautman
Erik Trautman

Reputation: 6029

What is the NEAR Protocol version of ERC20 tokens?

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

Upvotes: 3

Views: 922

Answers (2)

amgando
amgando

Reputation: 1591

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

Upvotes: 1

Erik Trautman
Erik Trautman

Reputation: 6029

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

Upvotes: 5

Related Questions