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)
};