Skip to content

Jcauley/skinnerbox

 
 

Repository files navigation

Skinnerbox

A dead simple forkable NFT vending machine

box.png

Usage

Here's an example walkthrough of how it's used:

skinnerbox.gif

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)

How to use

  1. Go deploy an NFT contract with Factoria
  2. Fork this repository
  3. Update the box.json to set your own contract address from step 1, as well as set the network ("rinkeby" or "main")
  4. (optional) Customize style by changing the style.css
  5. Create github pages (tutorial)

Advanced

For those of you who want to hack on it to build custom features. Here are the relevant files:

  1. index.html: This is the main landing page, which displays the currently signed in user's invite lists
  2. 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.

About

Dead simple NFT vending machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 76.1%
  • CSS 23.9%