-
Notifications
You must be signed in to change notification settings - Fork 26
Description
At the moment the library implements the next standard tokens: ERC20, ERC721, ERC1155.
But naming Erc* is related to the Ethereum network. In the case of Polkadot, we need to define our own specifications.
For specification, we can use PSP repository. Like naming, we can use PSP20 and etc. But maybe someone has better ideas about the naming of tokens.
!ink and Rust have unique features so we also need to think about the optimal function and their signature.
For example, we can include decrease_allowance
and increase_allowance
to Erc20 implementation like standard functions.
This is is blocker because the naming of traits influences the generation process of selectors for functions. So changing naming of traits later will break cross-contract execution of deployed contracts.
Proposals status:
- Fungible tokens - Fungible Token standard Proposal (WASM ERC20) w3f/PSPs#22 and PSP-22: Fungible Token standard (WASM ERC20) adoption process w3f/PSPs#25
- Not fungible tokens - Non-Fungible Token standard Proposal (WASM ERC721) w3f/PSPs#34 and PSP-34: Non Fungible Token standard (WASM ERC721) adoption process - 2 w3f/PSPs#39
- Multi token - Multi Token standard Proposal (WASM ERC1155) w3f/PSPs#37