A library for smart contract development on the COTI network.
[!NOTE] This repository is meant to replace the now-deprecated confidentiality-contracts repository.
Devnet Explorer | Testnet Explorer
[!NOTE]
Due to the nature of ongoing development, future versions might break existing functionality
The following contracts are included in the library:
npm install @coti-io/coti-contracts
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") {}
}