Closed markmhendrickson closed 4 years ago
@jasperjansz will add both BTC and STX forms in Figma, integrate into Webflow, then assign @hstove for end-to-end integration there.
Need to release just STX faucet for Neon
@hstove Let's be sure to add basic input pattern validation here when you wire it up (eg minimum address length)
I'll wire up the success and error states now that Hank has the API set up
The states are wired up, but @hstove needs to confirm now that the API always returns proper HTTP codes for success and errors. Once that's confirmed, we can move to QA.
@hstove I'm still seeing the API return success for incorrect address inputs – is that expected?
CORS error on the faucet
Weird – the API must be actively evolving today 🐛
Yea things are still changing it may be to early to test, the form specifies the field name as STX-Address but the api endpoint expects address.
Faucet endpoint was previously just stubbed out. It is actually implemented now -- but the request page form needs modified a bit to work.
@jasperjansz has made the field change. @timstackblock can you test again?
Getting a 500 error now.
@zone117x is this something you can fix on the API side?
Technically yes, but the API should not be using an adhoc label for the address field
Adhoc label? Not sure I follow :butterfly: :thinking_face: :egg:
Getting a 500 error from the API when entering a valid STX address that we need to change ASAP for launch. @zone117x @hstove ?
The errors above are resolved, we still need to make sure that addresses created from the CLI wallet can receive tokens, is this currently possible with the testnet? @hstove @yknl doesnt seem to be working right now.
@hstove @yknl can one of you confirm whether addresses from the CLI wallet should work with this faucet?
Yes any valid address generated for the correct network will work for receiving tokens. In this case the CLI just needs to be querying the right core node API to retrieve the balance. That's currently working using the steps on the Testnet CLI docs.
Ok I will test this when the CLI changes are complete thank @yknl
STX
Webflow page