dapp-examples icon indicating copy to clipboard operation
dapp-examples copied to clipboard

Example dapps for Archway starter code templates

Archway dapp Examples

Here, you will find basic dapps that cover various Archway tools, including arch3.js and the Archway Developer CLI.

dapps Included

Setting Environment Variables

In certain projects, it may be necessary to configure environment variables. In such cases, you may come across a file named env.example. To get started, duplicate this file and rename the duplicate as .env. Then, customize the .env file to reflect your preferred configurations.

Example:

git clone [email protected]:archway-network/dapp-examples.git
cd dapp-examples/vuejs/increment
cp env.example .env
vim .env
cat .env
# Example output:
> VUE_APP_CONTRACT_ADDRESS="archway1c6yawecywrgu9y5lc6y79mvxgk6lx0hhehn5kn"