stackernews / stacker.news

Internet communities that pay you Bitcoin
https://stacker.news
MIT License
403 stars 105 forks source link

implement sndev fund_nym #1199

Closed huumn closed 3 weeks ago

huumn commented 1 month ago

If you aren't running the payments docker compose profile, there's no way to top up the custodial wallet of a stacker for testing.

Provide a sndev fund_nym NYM in the sndev script that does something like

docker__exec db psql -U sn -d stackernews -c 'update users set msats = 1000000 where name = 'NYM''
ekzyis commented 1 month ago

I would also use a command that zeroes the balance so I can easier test attached wallets

huumn commented 4 weeks ago

hmmm maybe the command should be sndev set_balance NYM AMOUNT