Skip to content

chentihe/erc3525-rwa-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC3525 Example

ERC3525

EIP3525 is new token standard proposed by Solv Finance. It brings a new concept to abstract fungible token by using <id - slot - value> constructure. In this example, slot can be seen as a container of a real world asset, user can mint a ERC-3525 with a value which is binding with token id.

Metadata Descriptor

Since every SFT(Solv Finance called ERC-3525 Semi-Fungible-Token) has different value, it is suggested to use metadata contract to generate metadata on-chain, so that the image can be displayed dynamically. Moreover, you can integrate with chainlink to fetch off-chain data and render on your SFT image.

Test

All unit test is written on the test folder, you can see the test result by following below steps.
This is forge project, make sure you install foundry in advance.

  1. clone the project
$ git clone https://github.com/chentihe/erc3525-rwa-example.git
$ cd erc3525-rwa-example
  1. install denpendencies
$ forge install
$ forge remappings
  1. run unit test
$ forge test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published