The easiest way to build on Nouns Builder.
Builder SDK is a Typescript library that provides type safe interactions and data fetching for Nouns Builder contracts.
yarn add @buildersdk/sdkimport { BuilderSDK } from "@buildersdk/sdk";
const { auction, token } = BuilderSDK.connect({
signerOrProvider: mainnetProvider,
});
const auctionContract = auction({ address: auctionAddress });
const tokenContract = token({ address: tokenAddress });
const auctionData = await auctionContract.auction();
const tokenURI = await tokenContract.tokenURI(auctionData.tokenId);The following examples are provided in the examples folder of this repo.
with-nextwith-node
To run an example locally, install dependencies.
yarn installThen go into an example directory, eg: with-next.
cd examples/with-nextThen run the dev script.
yarn dev