Skip to content

TokenBuilder/npmjs-erc20-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum ERC-20 Token Generator

This packable allows you to either embed a custom token generator on your React web application or supply parameters to programmatically create a new token.

Installation

yarn add erc20-generator

Token Creator React Component

You can import the EmbeddedTokenGenerator from the erc20-generator package to embed a full page token generator in your page while supplying your own ethereum address for affiliate fees, if any.

This embedded tool allows you to create many different types of token.

import { EmbeddedTokenGenerator } from "erc20-generator";

const Example = () => {
  return (
    <EmbeddedTokenGenerator affiliate="0x002fd03eeC510cC10Df778ef87a8C6f51FfE3F02" />
  );
};

export default Example;

Programmatic Token Generation

Currently this method only allows creating fixed-supply tokens with no minting capabilities.

import { createErc20Token } from "erc20-generator";

await createErc20Token({
  name: "MyToken",
  symbol: "MTK",
  supply: 1000000,
  web3: ethersInstance, // Must be an initialized ethers.js provider on chain 1
});

Credit

This tool utilizes libraries and toolkit from Create My Token and Metacrypt.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published