사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/kukapay/crypto-skills --skill token-minter시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
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




