mirror of
https://github.com/luxfi/onchain-id.git
synced 2026-07-27 04:11:30 +00:00
main
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
Lux Fork
This is a Lux Industries fork of the canonical upstream:
- Upstream: https://github.com/onchain-id/solidity
- Pinned commit:
0e681fbf - Pinned tag:
2.2.2-beta3 - License: GPL-3.0 (preserved from upstream — see
LICENSE.md, provenance inSOURCE.md) - Lux extensions: NONE (verbatim parity with upstream).
- Tag policy: track upstream semver verbatim. Divergence (if ever required) signaled by next-minor bump, NOT prerelease suffixes.
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.7 MiB
Languages
TypeScript
63.4%
Solidity
35.9%
JavaScript
0.7%
