samc621
TokenFactory
JavaScript

A simple factory for deploying ERC20 and ERC721 tokens.

Last updated Dec 9, 2025
28
Stars
18
Forks
1
Issues
0
Stars/day
Attention Score
24
Language breakdown
No language data available.
Files click to expand
README

TokenFactory

What does this repository contain?

  • An ERC20 and an ERC721 contract using the @openzeppelin/contracts standards.
  • A Factory contract to deploy these contracts.
  • 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?

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

© 2026 GitRepoTrend · samc621/TokenFactory · Updated daily from GitHub