Skip to content

leanthebean/mtg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic the Gathering - Demo on Non-Fungible Tokens

Setup:

  1. This example relies on IPFS (https://ipfs.io/) so go ahead and follow the installation steps and run the ipfs daemon
  • ipfs daemon
  1. Let's write some smart contracts!
  • cd mtg/smart_contracts
  • truffle init
  • npm init
  • npm install --save openzeppelin-solidity
  1. We'll create an npm link between our smart contract package, and our front end
  • cd mtg/smart_contracts
  • npm link
  • cd ../
  • npm link smart_contracts
  1. Let's run our backend (so we can accept file uploads and hand them over to IPFS)
  • cd mtg/server
  • npm start
  1. And finally, let's run our frontend!
  • cd mtg/
  • npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published