Skip to content

Smart Contracts for secure Blockchain Identities, implementation of the ERC734 and ERC735 proposal standards.

License

Notifications You must be signed in to change notification settings

onchain-id/solidity

This branch is 16 commits ahead of main.

Folders and files

NameName
Last commit message
Last commit date
Apr 27, 2023
Feb 24, 2025
Apr 27, 2023
Apr 27, 2023
Feb 24, 2025
Jul 9, 2019
Apr 27, 2023
Jul 8, 2019
Apr 27, 2023
Jun 29, 2023
Jul 4, 2023
Jun 27, 2024
Mar 2, 2020
Apr 27, 2023
Apr 27, 2023
Jul 4, 2023
Jul 4, 2023
Apr 27, 2023
Jun 27, 2024
Jun 27, 2024
Apr 27, 2023

Repository files navigation

OnchainID Smart Contracts

GitHub GitHub release (latest by date) GitHub Workflow Status (branch) GitHub repo size GitHub Release Date


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.abi and ByteCode ERC734.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.