@soulbound/contracts
v1.0.1
Published
Soulbound 👻 Token Smart Contracts.
Downloads
5
Maintainers
Readme
Soulbound 👻 Token Smart Contracts
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";