sygmaprotocol / docs

Documentation for Sygma
https://docs.buildwithsygma.com
3 stars 1 forks source link

feat: Add Substrate dripping in the faucet #147

Closed mj52951 closed 3 months ago

mj52951 commented 3 months ago

Expanded the faucet UI so that it also supports the minting of tokens on Substrate-based chains.

mj52951 commented 3 months ago

Faucet UI with the proposed changes:

Example 1: evmdrip

Example 2: subdrip

haochizzle commented 3 months ago

image

haochizzle commented 3 months ago

[to be clear i am not a trump supporter]

EDIT: nor biden

mj52951 commented 3 months ago

when i checked out this pr, ran yarn start, and selected network type substrate, there was no option to select rococo-pha. am i missing something? same thing also happens when i click the view deployment in github actions.

As there were changes to the faucet-api as well, this new version of the faucet-ui is not compatible with the old version of the faucet-api. So for it to work you will need to run the faucet-api locally with this version and connect to it using the docs (changing the BASE_URL). If you intend to test it out and have further questions, contact me :)

haochizzle commented 3 months ago

thanks for the explanation @mj52951. lgtm then :)