bullseye-arrowQuickstart

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).

.env
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=3304b73odn3ee4918ff39234jss62a
circle-info

Note the values provided above are for reference only. To get your keys please ref below link

circle-info

Rest of the steps, setup and configurations are similar of both Wallet and Admin App

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.

Image demonstrates usage of Wallet App you need to open Admin app in VSCode if you want to run Admin App
circle-check

Running the application

  • Select your target device from the device selector menu at the bottom of the VSCode window.

  • Open the main.dart file 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.

circle-check

Last updated