NEP: Extended Token Standard#122
Conversation
|
Don't modify README.mediawiki when creating PR. |
c405a83 to
97651ca
Compare
|
And don't assign NEP number by yourself. The NEP editor (that is, me) will assign the NEP number when the proposal is accepted. |
OK. Will change it soon |
| Mint an <code>amount</code> of Fungible Token to an address. | ||
|
|
||
| The user who invoke this function MUST be the creator of this type of Fungible Token . If not, this method SHOULD throw an exception. | ||
|
|
There was a problem hiding this comment.
By type you mean the hash of the contract, @steven1227?
There was a problem hiding this comment.
Here type is the unique mark of one kind NFT/FT. In this standard, the hash of this contract is just the address of this contract, has no use inside the contract. Each kind of NFT/FT in this standard will be created by the creator with an assigned type. The type can be used to clarify which NFT/FT a token belongs, and also used to distinguish if it is an NFT or FT by using bit masking on this type
vncoelho
left a comment
There was a problem hiding this comment.
Nice proposal @steven1227, this is important for gaming and other applications. Good move!
I believe there is space for discussions and even additional functionalities. Let's move it forward.
|
The word mortgage maybe inappropriate. Let us change it to collateral |
|
This is likely a good direction to move. Ethereum has shown some success in this regard with ERC-1155, with Enjin also moving in the direction of backing each item with another token (ENJ in their case) in order to "imbue" the NFT with value. I think this is a very interesting proposal, especially if it possible to melt/burn the asset to retrieve the collateral. Say if a game goes offline and NFTs would become worthless; this means that the user can always get something back out of it. One important change would be to use GAS for collateral instead of NEO. Indivisibility means that NEO does not have the required granularity for this use case, and we should not be locking the governance token into random NFTs, we should be encouraging NEO holders to use their NEO to vote. |
|
Hello guys! |
|
As i understand type is part of the token id? |
Yes, that's why enumeration should be done through the events. |
Good point, may be we can use GAS instead and maybe set a minimum GAS fee requirement? |
Thanks, BlockchainCuties. Yes, we understand the expensive fee situation in Neo2. However, in Neo3, the fee is adjusted. For the detailed implementation, I (or anyone) can make one when the Neo3 testnet is launching. |
The |
@edgedlt Recently after discussion with other people who are interested in this proposal, how about use |
|
NEP-5 sounds good to me. It will also work nicely with NEO/GAS when we migrate the standard to Neo3. |
|
@neo-project/everyone Please check https://github.com/erikzhang/neo-asset-combiner |





Here this NEP defines an extended token standard for the Neo Smart Economy. The extended standard interface for contracts that manage multiple types of tokens including Non-Fungible tokens and Fungible tokens. This Standard can help the developer to manage different kind of tokens much easier. It can also reduce the transaction fee by grouping those tokens together.