diff --git a/README.md b/README.md index 66fcadd..b0c270e 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,12 @@ secure contexts. Hence, in local development you must use `localhost`. `webcrypt This dapp uses `.env` to configure deployment settings like default networks and endpoints. -* `SHIELDING_TARGET` The L1 chain whose native token shall be shielded to Incognitee -* `INCOGNITEE_SIDECHAIN` The Incognitee sidechain where the native token shall be shielded to -* `INTEGRITEE_NETWORK` The Integritee network where the Incognitee sidechain is anchored and TEERdays are collected -* `SHARD` The Incognitee shard where the native token shall be shielded to -* `SHIELDING_LIMIT` The maximum amount of native tokens that can be shielded -* `LIVE` Whether any actions should be enabled or not +- `SHIELDING_TARGET` The L1 chain whose native token shall be shielded to Incognitee +- `INCOGNITEE_SIDECHAIN` The Incognitee sidechain where the native token shall be shielded to +- `INTEGRITEE_NETWORK` The Integritee network where the Incognitee sidechain is anchored and TEERdays are collected +- `SHARD` The Incognitee shard where the native token shall be shielded to +- `SHIELDING_LIMIT` The maximum amount of native tokens that can be shielded +- `LIVE` Whether any actions should be enabled or not please check [./configs/chains.ts](./configs/chains.ts) for the available options. diff --git a/components/ui/ObtainTokenOverlay.vue b/components/ui/ObtainTokenOverlay.vue new file mode 100644 index 0000000..3d4c753 --- /dev/null +++ b/components/ui/ObtainTokenOverlay.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/configs/chains.ts b/configs/chains.ts index a993b95..644e12f 100644 --- a/configs/chains.ts +++ b/configs/chains.ts @@ -54,6 +54,6 @@ export const chainConfigs: Record = { }, [ChainId.IncogniteeIntegriteeKusama]: { name: "Incognitee Integritee Kusama", - api: "wss://scv1.integritee-kusama.api.incognitee.io", + api: "wss://scv1.integritee-kusama.api.incognitee.io:443", }, }; diff --git a/pages/index.vue b/pages/index.vue index 67bca60..6608123 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -95,6 +95,27 @@

Faucet

+
+ + + +

Get {{ accountStore.getSymbol }}

+
@@ -412,6 +433,13 @@ + + { showFaucetOverlay.value = false; }; +const showObtainTokenOverlay = ref(false); +const openObtainTokenOverlay = () => { + if (!isLive.value) { + console.error("network not live"); + return; + } + showObtainTokenOverlay.value = true; +}; +const closeObtainTokenOverlay = () => { + showObtainTokenOverlay.value = false; +}; + const showUnshieldOverlay = ref(false); const openUnshieldOverlay = () => { if (!isLive.value) {