Skip to content

Fungible, Non-Fungible, Semi-Fungible Tokens Smart Contracts

Notifications You must be signed in to change notification settings

neverthirty/token-contract

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fungible, Non-Fungible, Semi-Fungible Tokens Smart Contracts

NFT (Non-Fungible tokens) in nft folder

Basic implementation of smart contracts for NFT tokens and NFT collections in accordance with the Standard.

nft-collection.fc - basic implementation of immutable NFT collection with royalty.

nft-collection-editable.fc - basic implementation of the NFT collection with royalty in which the author can change the content and royalty params.

It is preferable to use an editable collection in case if you decide to change content hosting in the future (for example, to TON Storage).

nft-item.fc - basic implementation of immutable NFT item.

TonWeb JavaScript SDK 0.0.38+ supports these contracts.

Also repo contains an example of a simple marketplace smart contract nft-marketplace and a smart contract for selling NFT for a fixed price for Toncoins nft-sale.

In a real product, marketplace and sale smart contracts are likely to be more sophisticated.

Jettons (Fungible tokens) in ft folder

Basic implementation of smart contracts for Jetton wallet and Jetton minter in accordance with the Standard.

Contains an example of a simple ICO smart contract.

Semi-Fungible

Semi-Fungible tokens is combination of NFT and FT.

About

Fungible, Non-Fungible, Semi-Fungible Tokens Smart Contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 80.6%
  • Shell 19.4%