This repository contains the sources for the Incognitee app statically deployed on try.incognitee.io for Testnets and app.incognitee.io for production.
The @encointer/worker-api uses the browser's built-in webcrypto api. This library is only available in secure
secure contexts. Hence, in local development you must use localhost. webcrypto is undefined on 127.0.0.1 and
0.0.0.0.
This dapp uses .env to configure deployment settings like default networks and endpoints.
SHIELDING_TARGETThe L1 chain whose native token shall be shielded to IncogniteeINCOGNITEE_SIDECHAINThe Incognitee sidechain where the native token shall be shielded toINTEGRITEE_NETWORKThe Integritee network where the Incognitee sidechain is anchored and TEERdays are collectedSHARDThe Incognitee shard where the native token shall be shielded toSHIELDING_LIMITThe maximum amount of native tokens that can be shieldedLIVEWhether any actions should be enabled or not
please check ./configs/chains.ts for the available options.
Create a .env file in the root folder and set your preferences
SHIELDING_TARGET=PaseoRelay
INCOGNITEE_SIDECHAIN=IncogniteePaseoRelay
INTEGRITEE_NETWORK=IntegriteePaseo
SHARD=5wePd1LYa5M49ghwgZXs55cepKbJKhj5xfzQGfPeMS7c
SHIELDING_LIMIT=50
LIVE=true
For testnets, GH actions will automatically use the .env.testnet file to deploy the app.
For production, GH actions will automatically use the .env.production file to deploy the app.
Make sure to install the dependencies:
# yarn
yarn installStart the development server on http://localhost:3000
yarn run devBuild the application for production:
yarn run buildLocally preview production build:
yarn run previewCheck out the deployment documentation for more information.