@coti-io/coti-contracts
v1.0.0
Published
A library for smart contract development on the COTI network.
Downloads
150
Keywords
Readme
COTI Contracts
A library for smart contract development on the COTI network.
[!NOTE] This repository is meant to replace the now-deprecated confidentiality-contracts repository.
Important Links
Network-Specific Links
Devnet Explorer | Testnet Explorer
Overview
[!NOTE]
Due to the nature of ongoing development, future versions might break existing functionality
The following contracts are included in the library:
Installation
Hardhat (npm)
npm install @coti-io/coti-contracts
Usage
Once installed, you can use the contracts in the library by importing them:
pragma solidity ^0.8.20;
import {PrivateERC20} from "@coti-io/coti-contracts/token/PrivateERC20/PrivateERC20.sol";
contract MyToken is PrivateERC20 {
constructor() ERC721("MyToken", "MTOK") {}
}