Beesknees Set Charity
beesknees_set_charityOperator: name the beneficiary, its website and its Lightning address.
restricted, so the runtime requires the caller to be the operator, proven.
It was a constant in the source, which made changing who the money goes to a deployment. A charity can be replaced, renamed, or rotate its wallet, and none of that should need anybody to touch code.
Changing this never rewrites history: every settlement records the beneficiary it actually paid at the time, so a player can always check where the money went rather than where it goes now.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The beneficiary's name, as players should see it. | |
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| website | No | Where a player can check them out. | |
| dpop_token | No | ||
| lightning_address | No | Where the charity share is actually sent, e.g. name@wallet.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||