A tool for automatically deploying Ethereum smart contracts to various networks.
To use EVM Auto Deploy, follow these steps:
- Clone the repository:
git clone https://github.com/SKaaalper/evm-auto-deploy.git && cd evm-auto-deploy
- Install the dependencies:
npm install- Create a
.envfile in the root directory with the following variables:
PRIVATE_KEY: Your Ethereum private key
nano .env
- Format:
PRIVATE_KEY=1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
- Add your desired chain configuration to
chains/testnet.jsonorchains/mainnet.json.
- For Testnet use:
nano chains/testnet.json
- For Mainnet use:
nano chains/mainnet.json
- Format:
[
{
"name": "Nexus",
"rpcUrl": "https://rpc.nexus.xyz/http",
"chainId": "392",
"symbol": "NEX",
"explorer": "https://explorer.nexus.xyz"
}
]
- Run the script:
npm start- Node.js (version 14 or higher)
- npm (version 6 or higher)
- Ethereum private key
- Ethereum RPC node URL
To install the dependencies, run the following command:
npm installTo use EVM Auto Deploy, simply run the script:
npm startFollow the prompts to select the network, enter the token name, symbol, and supply, and deploy the contract.
EVM Auto Deploy is licensed under the MIT License. See the LICENSE file for more information.