Cryptomask Docs
  • CRYPTOMASK SERVER
    • Installing Database
    • Installing Cryptomask Server
  • Cryptomask Wallet
    • Quickstart
    • Changing App Name
    • Changing App ID
    • Changing App Icon
    • Customize and Extend
    • Building and Releasing
Powered by GitBook
On this page
  • Prerequisites
  • Installing project's dependencies
  • Running the application
  1. Cryptomask Wallet

Quickstart

PreviousInstalling Cryptomask ServerNextChanging App Name

Last updated 7 months ago

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

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

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

# APP CONFIG
APP_NAME=Cryptomask Admin
BASE_API_URL=https://replace-with-your-api-server.com

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.

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

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

Getting an API keyEtherscan
Getting an API Key | PolygonScan
Welcome | Reown Docs
Logo
Logo
Logo
Image demonstrates usage of Wallet App you need to open Admin app in VSCode if you want to run Admin App