mirror of
https://github.com/luxfi/onchain-id.git
synced 2026-10-30 15:23:49 +00:00
develop
* π₯ identity added claim signers at setup * π₯ adde claim_Adder purpose * π₯ added identity types lib and rename variables * π¨ fix lint * β»οΈ renamed claim adder * π₯ resolved claim adder just add claims in execute * π¨ fix add name selector * π₯ added AI_AGENT type * π§ updated the husky files * Removed __ClaimIssuer_init
OnchainID Smart Contracts
Smart Contracts for secure Blockchain Identities, implementation of the ERC734 and ERC735 proposal standards.
Learn more about OnchainID and Blockchain Identities on the official OnchainID website: https://onchainid.com.
Usage
- Install contracts package to use in your repository
yarn add @onchain-id/solidity - Require desired contracts in-code (should you need to deploy them):
const { contracts: { ERC734, Identity }, } = require("@onchain-id/solidity"); - Require desired interfaces in-code (should you need to interact with deployed contracts):
const { interfaces: { IERC734, IERC735 }, } = require("@onchain-id/solidity"); - Access contract ABI
ERC734.abiand ByteCodeERC734.bytecode.
Development
- Install dev dependencies
npm ci - Update interfaces and contracts code.
- Run lint
npm run lint - Compile code
npm run compile
Testing
- Run
npm ci - Run
npm test- Test will be executed against a local Hardhat network.
Description
Smart Contracts for secure Blockchain Identities, implementation of the ERC734 and ERC735 proposal standards.
2.6 MiB
Languages
TypeScript
63.4%
Solidity
35.9%
JavaScript
0.7%
