Skip to content

A simple factory for deploying ERC20 and ERC721 tokens.

Notifications You must be signed in to change notification settings

samc621/TokenFactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TokenFactory

What does this repository contain?

  1. An ERC20 and an ERC721 contract using the @openzeppelin/contracts standards.
  2. A Factory contract to deploy these contracts.
  3. A Javascript test file for testing the Factory contract with Truffle.

What can I use it for?

You can deploy the Factory contract on an Ethereum blockchain network, and then use it to trustlessly deploy secure new ERC20 and ERC721 tokens on that same network.

How can I use it?

  1. Install truffle with npm install -g truffle.
  2. Install dependencies with npm install.
  3. Run truffle develop to spawn a development blockchain with interactive console.
  4. Compile code into a build directory with truffle compile.
  5. Run migrations to deploy the Factory contract with truffle migrate.
  6. Start the test suite with truffle test.