👻 Token Smart Contracts
Soulbound Installation
$ npm install @soulbound/contracts
Usage
- Contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import "@soulbound/contracts/SBT.sol";
contract MySoulboundToken is SBT {
constructor() SBT("My Soulbound", "SBT", 16) {}
}
- Interface
import "@soulbound/contracts/interfaces/ISBT.sol";