Nitrate Processed Mincemeat

    @meterio/chainbridge-contracts
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.6 • Public • Published

    chainbridge-solidity

    Coverage Status

    ChainBridge uses Solidity smart contracts to enable transfers to and from EVM compatible chains. These contracts consist of a core bridge contract (Bridge.sol) and a set of handler contracts (ERC20Handler.sol, ERC721Handler.sol, and GenericHandler.sol). The bridge contract is responsible for initiating, voting on, and executing proposed transfers. The handlers are used by the bridge contract to interact with other existing contracts.

    Read more here.

    The ChainBridge specification can be found here.

    A CLI to deploy and interact with these contracts can be found here.

    Dependencies

    Requires nodejs and npm.

    Commands

    make install-deps: Installs truffle and ganache globally, fetches local dependencies. Also installs abigen from go-ethereum.

    make bindings: Creates go bindings in ./build/bindings/go

    PORT=<port> SILENT=<bool> make start-ganache: Starts a ganache instance, default PORT=8545 SILENT=false

    QUIET=<bool> make start-geth: Starts a geth instance with test keys

    PORT=<port> make deploy: Deploys all contract instances, default PORT=8545

    make test: Runs truffle tests.

    make compile: Compile contracts.

    Keywords

    none

    Install

    npm i @meterio/chainbridge-contracts

    DownloadsWeekly Downloads

    9

    Version

    1.0.6

    License

    GPL-3.0-only

    Unpacked Size

    156 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar
    • avatar