Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

ERC-721 Soulbound Token

License

NotificationsYou must be signed in to change notification settings

mysteryon88/ERC721-SBT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • In the first case, I override the functions of the libraries to achieve compatibility with the ERC721 standard. I took two libraries as a basis:OpenZeppelin v5.0.1 andSolmate v6.2.0. Added storage URI to Solmate libraries

  • In the second case, I cut out the code unnecessary for SBT, while maintaining compatibility with ERC721.

Gas used

Used HardHat test without optimization

OpenZeppelinSolmate
deploymintdeploymint
Cut1 916 164118 8041 418 790117 268
Overridden2 232 228118 8742 018 090117 246

Used HardHat test with optimization (200 runs)

OpenZeppelinSolmate
deploymintdeploymint
Cut1 051 973117 641738 332116 294
Overridden1 236 910117 7171 078 246116 272

[8]ページ先頭

©2009-2025 Movatter.jp