@museum-of-war/auction
v5.1.0
Published
```shell npm install @museum-of-war/auction ```
Downloads
41
Keywords
Readme
@museum-of-war/auction
npm install @museum-of-war/auction
Usage
import { ethers } from "ethers";
import { AuctionVersion, NFTAuctionConnect } from "@museum-of-war/auction";
async function main() {
const provider = new ethers.providers.Web3Provider(window.ethereum);
await provider.send("eth_requestAccounts", []);
const auction = NFTAuctionConnect(provider, "rinkeby", AuctionVersion.V3);
console.log(auction.address);
}
main().catch((error) => {
console.error(error);
});