@coreos/nft-exchange-sdk
v1.0.1
Published
```shell npm install @cos/nft-exchange-sdk ```
Downloads
2
Readme
install
npm install @cos/nft-exchange-sdk
example
node
import { NFTExchange,Token } from "@cos/nft-exchange-sdk";
let contracts = {
exchangeAddress: "0x020f8BbedE35C0E7356d3EB20BCD8a30a918603d",
poolContractAddress: "0x76a1E9AE8414dA4Efd274a2489eEAB5c49E9Dbe4",
poolTokenAddress: "0x69C0B9f31dfC287be926613B98EeC304bD75D915"
};
let exchange = new NFTExchange(owner);
await exchange.load(contracts.exchangeAddress, contracts.poolContractAddress, contracts.poolTokenAddress);