Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zunxbt/contract-script
Bash script to deploy multiple token contracts on any EVM chains (Testnet/Mainnet)
https://github.com/zunxbt/contract-script
bash-script contract contract-deployer foundry
Last synced: 9 days ago
JSON representation
Bash script to deploy multiple token contracts on any EVM chains (Testnet/Mainnet)
- Host: GitHub
- URL: https://github.com/zunxbt/contract-script
- Owner: zunxbt
- Created: 2024-10-14T06:02:09.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-10-14T07:13:12.000Z (24 days ago)
- Last Synced: 2024-10-21T05:58:26.375Z (17 days ago)
- Topics: bash-script, contract, contract-deployer, foundry
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 10
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Contract Deployer on any EVM Chain (Testnet or Mainnet)
## Prerequisites
- You need to have gas fee on the chain where u want to deploy token contract
- Let's say you are deploying contract on sepolia ethereum, then u need to have Sepolia $ETH in your wallet
- Let's say you are deploying contract on Ethereum mainnet, then u need to have ETH gas fee on Ethereum Mainnet
- You need a RPC URL of that EVM Chain
- You can find your EVM chain RPC url on [Chainlist](https://chainlist.org)
- Need to have terminal which support linux based command
- You can use either local terminal (Ubuntu)
- Or you can use Virtual IDE like [codespaces](https://github.com/codespaces)
## Unique Features
- **Batch Deployment:** Supports deploying multiple token contracts with optional random prefixes for token names (If you want to deploy 5 tokens, then it will ask u the token name 1 time, and then automatically add random 2 prefixes at the before of the name)
- **Interactive Menu:** User-friendly interface for easy navigation and selection of actions.## Installations
- You can use either this command
```bash
[ -f "evm-contract.sh" ] && rm evm-contract.sh; wget -q https://raw.githubusercontent.com/zunxbt/contract-script/refs/heads/main/evm-contract.sh && chmod +x evm-contract.sh && ./evm-contract.sh
```
- Or this command to run this script
```bash
[ -f "evm-contract.sh" ] && rm evm-contract.sh; curl -sSL -o evm-contract.sh https://raw.githubusercontent.com/zunxbt/contract-script/refs/heads/main/evm-contract.sh && chmod +x evm-contract.sh && ./evm-contract.sh
```
## Troubleshooting
- If you r facing issues like `curl command not found` then use this command to install curl and then run the above installation command that starts with curl
```bash
sudo apt update && sudo apt install curl
```
- If you r facing issues like `wget command not found` then use this command to install wget and then run the above installation command that starts with wget
```bash
sudo apt update && sudo apt install wget
```