Skip to content

A Solidity smart contract based on ERC-4671 to issue and manage digital identity or possessions.

Notifications You must be signed in to change notification settings

waddaboo/solidity-nttId

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NttId

NttId is a Solidity smart contract that is based on the ERC-4671 standard with additional functionality for issueing, blacklisting, revoking tokens, and more. It can be used to manage tokenized assets, such as access tokens, digital collectibles, and digital identity.

Features

  • Issuance: Allows authorized users to mint new tokens.
  • Blacklisting: Enables administratos to freeze specific tokens.
  • Revocation: Provides a mechanism to permanently disable specific token.
  • Querying: Allows users to get the total number of NttId owned by a user, the total number of NttId issued, and the total number of NttId in circulation.

Prerequisites

  • Node.js (version 14 or later)
  • npm

Installation

  1. Clone the repository:
git clone https://github.com/waddaboo/solidity-nttId.git
  1. Install the dependencies:
npm install

Tests

You can run the test suite by using the following command:

npx hardhat test

Compiling

To compile the contract to a local Hardhat network, run the following command:

npx hardhat compile

Disclaimer

This smart contract is provided for informational purposes only and should not be considered financial advice. Please use it with caution and at your own risk. It is recommended to thoroughly test and audit the code before deploying it to a live network.

About

A Solidity smart contract based on ERC-4671 to issue and manage digital identity or possessions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published