otc-contracts-v1

1.0.1-dep10 • Public • Published

OTC Contracts

Smart contracts typed interface for OTC.

Usage

Use with web3-react

import { useWeb3React } from "@web3-react/core";
import {
  OTCMarket,
  OTCMarket__factory,
} from "otc-contracts-v1/typechain-types";
import deployments from "otc-contracts-v1/deployments.json";

const { provider } = useWeb3React();

// your typed contract instance
const otcMarket: OTCMarket = OTCMarket__factory.connect(
  deployments.otcMarket,
  provider,
);

Readme

Keywords

none

Package Sidebar

Install

npm i otc-contracts-v1

Weekly Downloads

7

Version

1.0.1-dep10

License

none

Unpacked Size

6.84 MB

Total Files

331

Last publish

Collaborators

  • kpatec