Skip to content

Instantly share code, notes, and snippets.

@ChristianOConnor
Created April 11, 2023 07:40
Show Gist options
  • Save ChristianOConnor/2769a00ba9f4cf29b62dc5dc04363e87 to your computer and use it in GitHub Desktop.
Save ChristianOConnor/2769a00ba9f4cf29b62dc5dc04363e87 to your computer and use it in GitHub Desktop.
Simple merkle proof mint command massively incomplete
const provider = new ethers.providers.Web3Provider(window.ethereum);
const signer = provider.getSigner();
const contract = new ethers.Contract(contractAddrs, MyNFT.abi, signer);
const response = await contract.mintFunction(hexProof);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment