Giter Club home page Giter Club logo

soulboundnft's Introduction

SoulBound NFTs - The Membership Protocol

The idea behind SoulBound NFTs is to have non-transferable, burnable, mintable, ERC721Votes NFTs. The graphic is based on SVGs.

When a new membership token is created, the owner can set the SVG content of the membership. This graphic will be shared by all NFTs in the collection.

They can work in 2 ways:

  1. A DAO or guild leader can mint NFTs to the addresses of users that earned the membership through e.g. work. A nickname and role can be specified, and will be displayed at the bottom of the NFTs.
  2. A DAO or guild can decide to make the NFTs mintable as well, and set a mint price. The ETH goes into the contract and the DAO owner can withdraw at any time to a preset vault address (configurable). This is essentially a paid membership. A nickname can be specified, but the role is preset by the DAO.

There are 3 contracts in use here.

  1. The SoulBoundNFT itself, which represent the ERC721 token.
  2. A proxy factory, used to create an upgradeable beacon on deployment and to create new proxies owned by the DAOs or guilds
  3. A proxy registry, used to keep track of all the proxies, the addresses owning them and some other metadata. This is useful in case the proxy factory ever needs to be replaced.

Since I cannot foresee all the possible use cases, transferability in this implementation can be toggled by the contract owner.

It is currently live on Rinkeby and can be tested at (the UI is still pretty crude): https://soulbound.app/

Example membership collection on OpenSea can be found here.

Built with ๐Ÿ— Scaffold-Eth Typescript

Currently deployed on Rinkeby

SoulBoundNFT at 0xddbf050ea6E0d2e152E480158ba809f49ac2337b

SoulBoundNFTProxyRegistry at 0xe9f1F0fA12E3055aB879065eEf825ea8E7A58f48

SoulBoundNFTFactory at 0x4B9652Bdd7f7a1AcB66299cEbFD2AE18C8934330

UpgradeableBeaconCreated [
Indexed { _isIndexed: true, hash: null },
'0xba7Ca1d46C5c74f8056dC70F831Cb5A41Bc9A2a7',
'0xddbf050ea6E0d2e152E480158ba809f49ac2337b',
createdBy: Indexed { _isIndexed: true, hash: null },
beacon: '0xba7Ca1d46C5c74f8056dC70F831Cb5A41Bc9A2a7',
initialImplementation: '0xddbf050ea6E0d2e152E480158ba809f49ac2337b'
]

upgradeableBeacon deployed to 0xba7Ca1d46C5c74f8056dC70F831Cb5A41Bc9A2a7

soulboundnft's People

Contributors

0xdarni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.