Ok, here we go! A little demo on how you can use the Nutoff wallet. This is not meant to have a good UX, as it's just for educational and experimental purposes. But if you want to play with it, follow these steps:

1. Open your terminal, and navigate to a directory where you feel comfortable placing the codebase of this project. Then, run `git clone https://github.com/gzuuus/nutoff-wallet.git`

2. Navigate into the `nutoff-wallet` directory and run `bun i`

(I assume you can use other package managers, but it will definitely work with https://bun.sh )

3. Now, just run the wallet by executing `bun run mcp-server.ts`

It has some default settings, but it is highly recommended to set a private key. This way, every time you execute the wallet, it will have the same public key. Also, configure some allowed public keys; these will be able to spend from the wallet. Just put your public key. It also accepts a list of keys if you want more than one key to be able to spend from the wallet. See the `example.env` file for more details.

At this point, your wallet is running, and you should see a message like this one

The last line shows the public key of your wallet. Now you can either go to https://contextvm.org/s/ from where you can manage the wallet and create invoices, get the balance, pay invoices, create Cashu tokens from your balance, etc. Or you can test the Nutoff LNURL proxy, which is temporarily running (it will be shut down soon) at https://dvmcp.fun (yes, I've just reused that domain for demo purposes). You will have a Lightning address automatically at `@dvmcp.fun`, which you can use to start receiving payments... Magic! There is also another goodie: if you go to https://dvmcp.fun/w/, it will show your LN address and a little POS to generate invoices that people can pay. This is the page of my wallet https://dvmcp.fun/w/d30ef73ddc36ae3f4398c4972008a0862488f44303a8f305a6a1f3c68d01ece0

That's it! Now, to see the balance or pay invoices from there, you can either use your wallet remotely by going to https://contextvm.org/s/ or you can use the CLI interface.

Remember that the wallet has to be on to be able to receive payments, so ideally, you'll run this on a device that is always on, or that is on for some hours each day. While it is on, it can be used remotely.

This is just a proof of concept. Much better UI/UX can be done, and an interface can also be built as a static site, or even a hypernote. 👀 Imagination is the limit!

nostr:nevent1qvzqqqqqqypzqs9eep0ll6hurjkl3sc2fewgses07mjfwxsdcu3at2m8fd0xrdz3qyt8wumn8ghj7mn0wd68yetvd96x2uewdaexwtcpz3mhxue69uhhwmm59ehx7um5wghxuet59uqzpp49lyvw8glysjd05wuzdpx5zshjj7nrum4vhryfe3ushup6nw5mwnh2ue

Reply to this note

Please Login to reply.

Discussion

So cool