Closed Anmol1696 closed 1 year ago
Need to create a job queue from /credit
endpoint. The job itself should transfer tokens based on exec.Command
using the chain binary to perform a send-transfer token request.
Good material on job queue: https://blog.devgenius.io/big-int-in-go-handling-large-numbers-is-easy-157cb272dd4f
Overview
Alot of the chains are not able to support
cosmjs
facuet, which causes the issues around scaling.Proposal
Create a custom go facuet binary that runs inside the docker image of the chain. This faucet will be a wrapper around running
exec
commands fortx send
tokens.We will also have the type of faucet be:
starship-faucet
will have the same endpoints as cosmjs faucet, which are:Implementation
/credit
endpointTest