Nano

1 readers
1 users here now

Nano is an open-source cryptocurrency featuring near-instant transactions with zero fees. Its consensus protocol doesn't rely on mining and has a minimal carbon footprint, while also promoting decentralization.

founded 3 years ago
MODERATORS
1
2
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
 

These past few days I've been working on integrating nano into a lemmy instance, which you can check out here: https://nano.garden/

As of now, I have done the following:

  • I have added a "nano_address" column to the "person" table to store a user's public address. A user can add their address through the user settings.

  • If a user has a nano address, a "nano" badge will appear next to their name on their profile, posts, and comments. Clicking on a user's badge will bring you to nano.to/user_address , from where there are many methods to submit a tip to the user (open wallet in pone, copy address, or scan QR code).

  • I have also implemented a new type of faucet. A bot is checking for new comments, and if someone with a nano address creates a comment, the faucet will send them 0.01 XNO.

Because of the way that these changes are implemented, if another instance were to run the same backend and UI, the badge would be federated across instances. This implementation can also be modified to create other type of user badges with a customizable URL, such as to add other crypto assets or to link to other sites.

The back-end and UI modifications can be found here:

https://github.com/nanogarden/nanogarden-lemmy/tree/ng-lemmy-0.18.3

https://github.com/nanogarden/nanogarden-lemmy-ui/tree/ng-0.18.3

The python faucet bot code is a bit of a mess, but I will clean it up and put it up on github if anyone is interested.


Note: I'm not associated with the Nano Foundation, nor do I hold a lot of nano. I am interested in the direct and anonymous transfer of digital cash without the need of an intermediary. I chose Nano for this because the implementation of this system is simple in comparison to other cryptocurrencies that I've looked at. This is just a small fun project, nothing serious.

2
3