
This is the SDK for the Humanode Biomapper - a biometrics-based sybil-resistance utility for EVM smart contracts.
To learn more about the Humanode Biomapper itself (and not this SDK) see the docs.
Find the up-to-date contract addresses here.
Contract | Implemented Interfaces |
---|---|
Biomapper |
IGenerationChangeEvents , IProveUniquenessEvents |
BiomapperLog |
IBiomapperLogRead |
BridgedBiomapper |
IBridgedBiomapperRead , IBridgeBiomappingEvents |
Install the packages:
npm install --save @biomapper-sdk/core @biomapper-sdk/libraries @biomapper-sdk/events
or with yarn:
yarn add @biomapper-sdk/core @biomapper-sdk/libraries @biomapper-sdk/events
Import the dependencies from the @biomapper-sdk
like this:
import {IBiomapperLogRead} from "@biomapper-sdk/core/IBiomapperLogRead.sol";
import {IBridgedBiomapperRead} from "@biomapper-sdk/core/IBridgedBiomapperRead.sol";
import {BiomapperLogLib} from "@biomapper-sdk/libraries/BiomapperLogLib.sol";
Install the dependency:
forge install humanode-network/biomapper-sdk
Import the dependencies from biomapper-sdk
like this:
import {IBiomapperLogRead} from "biomapper-sdk/core/IBiomapperLogRead.sol";
import {IBridgedBiomapperRead} from "biomapper-sdk/core/IBridgedBiomapperRead.sol";
import {BiomapperLogLib} from "biomapper-sdk/libraries/BiomapperLogLib.sol";
See the usage
directory for the simple usage examples, and
the examples
directory for a more complete use cases
demonstration.