Skip to content

Commit ecc9aac

Browse files
committed
Extend faucet limits for Mammoth
1 parent d786eaf commit ecc9aac

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

components/modals/BlobModal.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const getBlobMetadata = async () => {
7474
notFound.value = true
7575
}
7676
77-
isLoading.value = false
77+
// isLoading.value = false
7878
}
7979
8080
watch(
@@ -113,6 +113,8 @@ watch(
113113
showPreviewText.value = false
114114
contentPreviewText.value = ""
115115
}
116+
117+
isLoading.value = false
116118
},
117119
)
118120
@@ -165,7 +167,7 @@ const handlePreviewContent = () => {
165167
} else {
166168
if (!showPreviewText.value) {
167169
showPreviewText.value = true
168-
contentPreviewText.value = blob.value.data
170+
contentPreviewText.value = atob(blob.value.data)
169171
} else {
170172
showPreviewText.value = false
171173
contentPreviewText.value = ""

pages/faucet.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ onMounted(() => {
336336
:loading="isLoading"
337337
:disabled="validation.type === 'error' || !address"
338338
>
339-
Recieve 1 TIA
339+
{{ `Recieve ${network === 'mammoth' ? 100 : 1} TIA` }}
340340
</Button>
341341
</Flex>
342342
</Flex>
@@ -476,7 +476,7 @@ onMounted(() => {
476476
477477
<Flex id="2" :class="[$style.answer, openedQuestion === 2 && $style.answer_extended]">
478478
<Text size="13" weight="500" color="tertiary" height="160">
479-
You can request testnet tokens by entering your Celestia testnet address, and clicking the "Received 1 TIA" button. Tokens will be sent to your wallet within a few moments.
479+
{{ `You can request testnet tokens by entering your Celestia testnet address, and clicking the "Receive ${network === 'mammoth' ? 100 : 1} TIA" button. Tokens will be sent to your wallet within a few moments.` }}
480480
</Text>
481481
</Flex>
482482
@@ -497,7 +497,7 @@ onMounted(() => {
497497
<Flex id="3" :class="[$style.answer, openedQuestion === 3 && $style.answer_extended]">
498498
<Text size="13" weight="500" color="tertiary" height="160">
499499
To ensure fair distribution and prevent abuse, the faucet has the following limitations:<br>
500-
&nbsp;&nbsp;• You can receive <b>1 TIA per request</b>.<br>
500+
&nbsp;&nbsp;• You can receive <b>100 TIA for Mammoth network and 1 TIA for other testnets per request</b>.<br>
501501
&nbsp;&nbsp;• You can request tokens <b>only once per hour</b> per <b>IP address or wallet address</b>.<br>
502502
&nbsp;&nbsp;• If you reach the limit, you will need to wait before requesting again.
503503
</Text>

services/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const useServerURL = () => {
4242
return Server.API.dev
4343

4444
default:
45-
return Server.API.mainnet
45+
return Server.API.dev
4646
}
4747
}
4848

@@ -69,7 +69,7 @@ export const useSocketURL = () => {
6969
return Server.WSS.dev
7070

7171
default:
72-
return Server.WSS.mainnet
72+
return Server.WSS.dev
7373
}
7474
}
7575

0 commit comments

Comments
 (0)