or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
User Stories
User stories to explore the usefulness of anonsats
Dramatis Personae
User Story 1: Uncle Jim sets up an anonsats wallet and adds in some anonsats.
Uncle Jim has heard about anonsats.io and figures this is the best way to get Alice on board by sending her some sats.He
Uncle Jim hears about an exciting new service called anonsats. He checks out the Anonsats API.
Convinced this is the way to get Alice into the sats game, Uncle Jim creates an anonsats wallet and writes down the
wallet_key
andwallet_name
which are the keys to use the wallet:wallet_key
key is the owner key and he must keep completely secret or risk loss of his funds. Thewallet_key
has full control and owner access to the wallet.wallet_name
, because thewallet_name
is the user key and has limited read-only and deposit-only access to the wallet. Anyone who has thiswallet_name
can deposit to this wallet, that only Uncle Jim can withdraw!With wallet in hand, Uncle Jim now needs to add some anonsats. Anonsats is fully-backed by Bitcoin, but to use anonsat tokens, they need to be minted using Lightning. Unfortunately, a simple user app is not yet available, but Uncle Jim is ready to navigate the challenging waters of API calls to make this happen. Fortunately, whoever wrote this service, is taking the time to document the backend Anonsats API. It looks pretty easy that Uncle Jim might create his own frontend client! But once the user app is available, it will be super-easy for everyone!
Unle Jim now has his
wallet_key
and hiswallet_name
handy (they are easy to type in!). He accesses the deposit method, enters an amount of sats and hiswallet_name
. He presses 'Execute'.He then heads over to the lnqrinvoice method and enters his
wallet_name
. When he presses 'Execute' a QR code appears, and he scans and pays with his Lightning wallet.Once the payment has been completed, Uncle Jim checks if the sats got in with the balance method to see if the sats are in the wallet. He can use either user
wallet_key
orwallet_name
. Sure enough, they are there!Jim now has anonsats and he is ready to send some to Alice!
User Story 2: Uncle Jim send anonsats to Alice
Uncle Jim is now ready to send Alice some sats.
wallet_key
andwallet_name
using a pen and a secret notebook. She emails Uncle Jim thewallet_name
because Uncle Jim said it was ok. But Jim reminded her, "Don't ever share yourwallet_key
!"Additonal User Stories
Will be written in due time…