
Token Minter
- 99 installs
- 31 repo stars
- Updated May 4, 2026
- kukapay/crypto-skills
Helps with ai & agent building tasks.
About
token-minter is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.
- token-minter
- AI & Agent Building
- AI-coding skill
Token Minter by the numbers
- 99 all-time installs (skills.sh)
- +3 installs in the week ending Aug 2, 2026 (Skillselion tracking)
- Ranked #4,392 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kukapay/crypto-skills --skill token-minterAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 99 |
|---|---|
| repo stars | ★ 31 |
| Last updated | May 4, 2026 |
| Repository | kukapay/crypto-skills ↗ |
What it does
Helps with ai & agent building tasks.
Files
Token Minter
Overview
This skill enables users to create custom ERC20 tokens by collecting parameters, generating Solidity code, setting up a Foundry project, building the contract, and deploying to a target EVM network.
Workflow
Step 1: Collect Information
Collect the following parameters from the user:
- Token name (e.g., "MyToken")
- Token symbol (e.g., "MTK")
- Decimals (default: 18)
- Initial supply (default: 1000000)
- Target network (default: sepolia)
Step 2: Generate ERC20 Contract
Use the provided script to generate the ERC20 contract code based on user parameters.
- Run
python scripts/generate_contract.py <name> <symbol> <decimals> <initial_supply>to generate the contract - The generated contract uses OpenZeppelin ERC20 standard
Step 3: Initialize Forge Project
- Create a temporary directory under
./tmp/ - Initialize a new Foundry project:
forge init - Place the generated contract in
src/Contract.sol
Step 4: Build Contract
- Install dependencies:
forge install OpenZeppelin/openzeppelin-contracts - Build the contract:
forge build
Step 5: Deploy to Network
- Ensure a local cast wallet is created (prerequisite)
- Get RPC URL for target network from https://chainlist.org/rpcs.json
- Find the network entry and use a reliable HTTPS RPC URL
- For Sepolia: typically "https://ethereum-sepolia.publicnode.com" or similar
- Deploy using:
forge create --rpc-url <network_rpc> --account <account_name> src/Contract.sol:MyToken --constructor-args <initial_supply> --broadcast - Verify deployment on the target network
Prerequisites
- Foundry installed (forge, cast commands available)
- Local cast wallet created with
cast wallet new - Sufficient funds on the deployment account for gas fees
Resources
scripts/
generate_contract.py: Python script to generate ERC20 contract code with custom parameters
references/
erc20_guide.md: Overview of ERC20 standard, required functions, events, and deployment considerations
assets/
ERC20Template.sol: Template Solidity file for ERC20 contract generation
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract TOKEN_NAME is ERC20 {
constructor(uint256 initialSupply) ERC20("TOKEN_NAME", "TOKEN_SYMBOL") {
_mint(msg.sender, initialSupply * (10 ** TOKEN_DECIMALS));
}
}ERC20 Token Standard
Overview
ERC20 is the technical standard for fungible tokens on the Ethereum blockchain. It defines a common interface that allows tokens to be exchanged, transferred, and used across different applications.
Required Functions
totalSupply(): Returns the total token supplybalanceOf(address): Returns the balance of a specific addresstransfer(address, uint256): Transfers tokens to another addresstransferFrom(address, address, uint256): Transfers tokens on behalf of another addressapprove(address, uint256): Approves an address to spend tokensallowance(address, address): Returns the remaining allowance
Events
Transfer(address indexed from, address indexed to, uint256 value)Approval(address indexed owner, address indexed spender, uint256 value)
Deployment Requirements
- Solidity ^0.8.0
- OpenZeppelin ERC20 contract
- Foundry for compilation and deployment
Network Considerations
- Mainnet: Ethereum mainnet
- Testnets: Sepolia, Goerli, Mumbai (Polygon), etc.
- Ensure sufficient gas for deployment
#!/usr/bin/env python3
import sys
def generate_erc20_contract(name, symbol, decimals, initial_supply):
template = """// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract {name} is ERC20 {{
constructor(uint256 initialSupply) ERC20("{name}", "{symbol}") {{
_mint(msg.sender, initialSupply * (10 ** {decimals}));
}}
}}"""
return template.format(name=name, symbol=symbol, decimals=decimals)
if __name__ == "__main__":
if len(sys.argv) != 5:
print(
"Usage: python generate_contract.py <name> <symbol> <decimals> <initial_supply>"
)
sys.exit(1)
name = sys.argv[1]
symbol = sys.argv[2]
decimals = int(sys.argv[3])
initial_supply = int(sys.argv[4])
contract_code = generate_erc20_contract(name, symbol, decimals, initial_supply)
print(contract_code)