This repository includes DApp boilerplates for truffle examples on Aurora. These examples cover specific topics:
- Solidity contract deployment using Truffle
- Integration with Metamask
- Running DApp on Aurora network
- Bridging Using Rainbow Bridge
- NodeJS version 16 or above
- Visual Studio Code
- Git Bash
- Bash on VS Code
Install the dotenv npm package to be able to use an .env
file
yarn add dotenv
Create the .env
file with the following command in your project root directory:
touch .env
Add the Infura credentials.
Check out .env-example
for an example .env
file.
MNEMONIC=
WEB3_INFURA_API_KEY=
DEPLOYED_AURORA_CONTRACT=
DEPLOYED_GOERLI_CONTRACT=
WALLET_ADDRESS=
Deploying your contract.
Execute the following command in a terminal:
truffle migrate --network aurora
Infura team welcomes any kind of contributions in form of bug issues, feature requests, code changes, or documentation enhancement.