Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samc621/tokenfactory
A simple factory for deploying ERC20 and ERC721 tokens.
https://github.com/samc621/tokenfactory
blockchain chai erc20 erc721 ethereum mocha open-zeppelin smart-contracts solidity truffle
Last synced: 6 days ago
JSON representation
A simple factory for deploying ERC20 and ERC721 tokens.
- Host: GitHub
- URL: https://github.com/samc621/tokenfactory
- Owner: samc621
- Created: 2019-02-13T16:41:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T15:48:19.000Z (over 1 year ago)
- Last Synced: 2024-11-07T09:02:49.082Z (6 days ago)
- Topics: blockchain, chai, erc20, erc721, ethereum, mocha, open-zeppelin, smart-contracts, solidity, truffle
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 29
- Watchers: 2
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TokenFactory
## What does this repository contain?
1. An `ERC20` and an `ERC721` contract using the [@openzeppelin/contracts](https://github.com/OpenZeppelin/openzeppelin-contracts) standards.
2. A `Factory` contract to deploy these contracts.
3. A Javascript test file for testing the `Factory` contract with [Truffle](https://github.com/trufflesuite/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`.