Deploying

After customizing your contract, you are now ready to deploy it on the Optimism network. Before we dive into the deployment process, please note the following important aspects:

  1. Transaction Fees: Deploying a contract requires you to pay for the transaction fees (gas fees) associated with the deployment. Ensure you have enough Optimism Ethereum (ETH) in your wallet to cover these fees.

  2. Minimal Proxy Deployment: dAgora uses a minimal proxy deployment technique for gas efficiency. This approach reduces the deployment cost by reusing the contract's bytecode, only deploying a small proxy contract that delegates calls to a shared implementation contract.

  3. Immutable Parameters: Some parameters, such as the token name, symbol, and max supply, cannot be changed after the contract is deployed. Make sure to double-check these values before proceeding with the deployment.

Now, let's dive into the deployment process:

  1. Review your Customization: Before deploying the contract, review the values you entered during the customization step. Make sure all the parameters are correct, as some of them cannot be changed after deployment.

  2. Initiate Deployment: Click the "Deploy Contract" button to initiate the deployment process. You will be prompted to confirm the transaction in your wallet.

  3. Confirm Transaction: Confirm the transaction in your wallet, making sure you have enough Optimism Ethereum (ETH) to cover the gas fees. Keep in mind that gas fees can vary based on network congestion and other factors.

  4. Deployment in Progress: After confirming the transaction, the deployment process will begin. It may take a few minutes for the transaction to be mined and the contract to be deployed on the Optimism network. Be patient and do not close your browser or navigate away from the page during this time.

  5. Deployment Complete: Once the contract is successfully deployed, you will receive a notification confirming the successful deployment. To view the new contract address and other relevant information, visit the "My Contracts" page in your dAgora account.

Congratulations! You have successfully deployed your customized token contract using dAgora's Contract Creation Wizard. Remember to save the contract address and any other essential information for future reference, as you will need it to interact with your newly deployed token contract.

Last updated

Logo