Quickstart
Prerequisites
To run Cryptomask application you need the below prerequisites to run/build the application. Xcode is required only if you need to run/build the application for the IOS platform.
Windows/Mac OS/Ubuntu (Latest version)
Flutter Version 3.22.0
Dart Version 3.4.0 (stable)
Running the application is straightforward. To get started, you’ll need RPC URLs and API keys from Etherscan and PolyScan for the Ethereum and Polygon networks. Add these details to a .env file (create one in the root folder if it doesn’t already exist).
APP_NAME=Cryptomask
API_BASE_URL=https://replace-with-your-api-server.com
# NETWORK CONFIG
ETHEREUM_RPC_URL=https://mainnet.infura.io/
ETHEREUM_ETHERSCAN_API_KEY=R4UWZSAHSSDDDDACSSS7XVHMUXQ8ETI5B
POLYGON_RPC_URL=https://polygon-rpc.com
POLYGON_POLYSCAN_API_KEY=VNWSPGHDUD7SWED1K7UKSPTN1CWD47
POLYGON_TESTNET_AMOY_RPC_URL=https://rpc-amoy.polygon.technology
# DAPP BROWSER
BROWSER_HOMEPAGE=https://www.google.com/
WALLETCONNECT_PROJECT_ID=3304b73odn3ee4918ff39234jss62aRunning the application is very simple. You need to add BASE_API_URL in the .env (Create this file does not exist in the root folder) file and run the application like a normal flutter in VSCode or Android Studio.
Installing project's dependencies
Open the project in VSCode, ensure you’re in the root folder, and run flutter pub get in the terminal to install dependencies.

If you see the following output, you're all set to proceed.
Running the application
Select your target device from the device selector menu at the bottom of the VSCode window.

Open the
main.dartfile from the Explorer panel on the left and Click the Run button located in the top-right toolbar to start the application on the selected device.

Once the application is built, it will run on your selected device.
Last updated