A dead simple forkable NFT vending machine
Here's an example walkthrough of how it's used:
You can try it out here: https://factoria-org.github.io/skinnerbox
NOTE: This demo works on Rinkeby (so it's easy to test). Make sure to switch the wallet network to Rinkeby testnet first. (But this repository works both on mainnet and testnet automatically. When you fork this repo and add your own mainnet address, it should automatically work on mainnet too)
- Go deploy an NFT contract with Factoria
- Fork this repository
- Update the box.json to set your own contract address from step 1, as well as set the network ("rinkeby" or "main")
- (optional) Customize style by changing the style.css
- Create github pages (tutorial)
For those of you who want to hack on it to build custom features. Here are the relevant files:
- index.html: This is the main landing page, which displays the currently signed in user's invite lists
- mint.html: This is the minting app
The code is super simple because it's powered by f0.js, which abstracts away most of the web3, ipfs, and merkle proof handling into one liner methods.