Getting Started with Integration
Here’s how the folder structure for the frontend
directory would look with App.tsx
included:
The App.tsx
file is a crucial component of your Aptos DApp, handling the main application logic and rendering based on the wallet connection status
To select the network for your application, you should configure the .env
file in the root folder. Set the VITE_APP_NETWORK
variable to either testnet
, devnet
, or mainnet
, depending on where your contract is deployed.
By default, it is set to testnet
.
Last updated