diff --git a/rln-js/index.html b/rln-js/index.html index 9e13316..f7be4a8 100644 --- a/rln-js/index.html +++ b/rln-js/index.html @@ -10,10 +10,11 @@

Waku RLN

+

Blockchain

Wallet

Address:

- +

Contract Data

Latest membership id on contract:

@@ -42,7 +43,7 @@

Waku

-
+
{ rlnInstance = _rlnInstance - generateCredsButton.disabled = false; - connectWalletButton.disabled = false; + statusSpan.innerText = 'WASM Blob download in progress... done!' + updateFields() + setTimeout(() => { + statusSpan.innerText = '' + }, 5000) }) const ContentTopic = "/toy-chat/2/luzhou/proto"; @@ -156,6 +164,8 @@ } } + generateCredsButton.disabled = !rlnInstance + registerButton.disabled = !(membershipKey && retrievedRLNEvents && !membershipId) importButton.disabled = !(membershipIdInput.value @@ -170,7 +180,7 @@ dialButton.disabled = !(node && node.isStarted() && retrievedRLNEvents) - retrieveRLNDetailsButton.disabled = !retrievedRLNEvents; + retrieveRLNDetailsButton.disabled = !rlnInstance && !retrievedRLNEvents; } // Blockchain @@ -394,7 +404,7 @@ textInput.value = null; setTimeout(() => { sendingStatusSpan.innerText = '' - }, 1000) + }, 5000) };