You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add database to backend and track nonce of senderAccount. Use the nonce of senderAccount in a locking manner to allow more than one person to claim from the faucet at the same time.
Dry running the transaction should be implemented at the backend, to only send transactions if they are valid. One possible cause of a failing transaction is if the receiver account passed from the front end is not valid (does not exist on the chain).
The text was updated successfully, but these errors were encountered:
Task description
Sub-tasks
TLS
support: Usecredentials.createSsl()
and the node withhttps
connection (https://grpc.testnet.concordium.com:20000) in the Readme as an example for theenv
setting:https://github.com/Concordium/concordium-dapp-examples/blob/main/testnet-faucet/src/lib/createGPRCClient.ts#L8
https://github.com/Concordium/concordium-dapp-examples/blob/main/testnet-faucet/src/pages/api/validateAndClaim.ts
NEXT_PUBLIC_USAGE_LIMIT_IN_DAYS=1
env should work with e.g .0.25
for 6 hours.Turnstile
token verification:https://developers.cloudflare.com/turnstile/get-started/server-side-validation/
After MVP:
receiver
account passed from the front end is not valid (does not exist on the chain).The text was updated successfully, but these errors were encountered: