Faucet and activation service #24
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
urgent
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_ledger#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We need a way to provide gas to new accounts and also allow accounts to request more gas if they need it.
Our gas token won't have economic value. It's just there as a potential rate limiting mechanism, if needed.
Outline:
Of course, limiting gas doesn't help against DoS type attacks unless accounts are also limited somehow.
Gas stationto Faucet and activation serviceThere is now a faucet contract in place, however we need to provide an external trigger to cause the chain to fund new accounts.
This probably looks like a small server that allows users to POST their account pub key to some endpoint and then it calls the faucet contract to dispense some gas to them.
AI gen'd plan to implement it: https://forge.ourworld.tf/geomind_research/hero_ledger/src/branch/main/docs/plans/ACCOUNT_ACTIVATION_RELAYER.md
Activation service is done and added to provisioning scripts so it gets managed by zinit.