Conversation
Fixed small niche problem of not having the website in root by removing slashes
now it fits the whole address
| - run: npm run build | ||
| env: | ||
| VITE_CAPTCHA_KEY: 6LftP5wkAAAAAH5cbuutkYKKaTnUMTLPqWlyeIL6 | ||
| VITE_FAUCET_URL: https://ink-docs-rococo-faucet.parity-testnet.parity.io/drip |
There was a problem hiding this comment.
this is temporary right?
if that's gonna be an alternative to current westend/rococo in matrix, there should be separate instances of server with its own wallets inside. So there will be 2-3 deploy-site.yml jobs, each with its own VITE_FAUCET_URL?
There was a problem hiding this comment.
nit: perhaps would be a bit more flexible going forward to have this as host, and /drip or /balance would be defined in the query/request methods
There was a problem hiding this comment.
Yes, I copy this from the implementation of !ink, but I need to sync with @rzadp so that we can see how we are gonna deploy it.
Also, this implementation uses captcha v3 (less invasive) while that endpoint uses captcha v2, so I think it also needs a slightly different code.
This way we can defer development from production
rzadp
left a comment
There was a problem hiding this comment.
Looks all good to me, except the minor comments that could be handled separately.
Created a client for the faucet.
You can test the website in http://bullrich.dev/substrate-matrix-faucet/
Enter any address to try the happy path, and write
erroras the address to try see how it reacts under an error.This commit closes #203
Created GitHub Action to deploy and test the page automatically.
We still need to enable an endpoint to work for this client, and to set up a new Google Captcha account.
This project is using Google Captcha v3 as it's more friendly and less invasive.
It was developed using Svelte, Tailwind and DaisyUI.
I also added meta tags so when it's share it looks prettier.