Skip to content

isaack2808/ERC-721MintingCollectibles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

ERC-721MintingCollectibles

Simple ERC Minting for 721. Add's sequential minting.

You will need Google Storage Object API in Json format.

Local Server (apache)

Infura API key

Metamask Ethereum wallet

This has been used for Artiststradingcard.com to mint collectible images and information of art onto the blockchain.

Can be used to reference documentation such as deeds to a house, etc. or anything of fixed value as long as their is an api involved.

Ownership is recorded onto the blockchain and transferable.

Instructions:

Clone this repository.

cd mintcards

cd truffle

Add Infura key and seed phrase to metamask account to .env folder

add wallet address to truffle.js

cd contracts

edit ArtistsTradingCard.sol and add your own google storage api (in JSON format) and rename to this file to what you want your public contract to be called.

cd ..

cd ..

in mintcards directory

npm install --save puppeteer

cd Contract

rm ArtistsTradingCard.json

cd ..

cd Truffle

rm -r build (these last two are the artifacts that you get when you successfully deploy. I included them so that you know what they should look like)...

inside truffle directory type:

truffle migrate --network main

If successful you will get a contract address.

Put the contract address into https://etherscan.io/ It should show up there on the ethereum network for you to interact with.

Also put the contract address into index.js inside mintcard directory. Make sure your server is started.

Go to local host. Make sure your signed into metamask account and it was same account to deploy contrract.

Start minting.

Notes, to do: Create interface for viewing minted items. Artiststradingcard.com currently uses Open Sea to view the art cards they've minted with this code. To view their cards go to : https://www.artiststradingcard.com/availablecards.html

Done by Isaac Kenley 2019 [email protected]

donations in eth: 0x80243DDA8007fa069a0Ca4ABf44A6F522A7774Ef

About

Very Simple way to assign value that's transferable onto the Ethereum Blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published