Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thesimplekid/cashu-rs-mint
Cashu mint useing CDK
https://github.com/thesimplekid/cashu-rs-mint
cashu cashubtc cdk cln ecash ldk ldk-node
Last synced: about 6 hours ago
JSON representation
Cashu mint useing CDK
- Host: GitHub
- URL: https://github.com/thesimplekid/cashu-rs-mint
- Owner: thesimplekid
- License: bsd-3-clause
- Created: 2023-06-18T02:34:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-08T18:48:21.000Z (5 months ago)
- Last Synced: 2024-06-09T13:26:44.531Z (5 months ago)
- Topics: cashu, cashubtc, cdk, cln, ecash, ldk, ldk-node
- Language: Rust
- Homepage:
- Size: 395 KB
- Stars: 15
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cashu - Cashu-rs-mint
- awesome-cashu - Cashu-rs-mint
README
# Moved to https://github.com/cashubtc/cdk/tree/main/crates/cdk-mintd
# cashu-rs-mint
*Disclaimer: The author is NOT a cryptographer and this work has not been reviewed. This means that there is very likely a fatal flaw somewhere. Cashu is still experimental and not production-ready.*
WIP
## Implemented [NUTs](https://github.com/cashubtc/nuts/):
- :heavy_check_mark: [NUT-00](https://github.com/cashubtc/nuts/blob/main/00.md)
- :heavy_check_mark: [NUT-01](https://github.com/cashubtc/nuts/blob/main/01.md)
- :heavy_check_mark: [NUT-02](https://github.com/cashubtc/nuts/blob/main/02.md)
- :heavy_check_mark: [NUT-03](https://github.com/cashubtc/nuts/blob/main/03.md)
- :heavy_check_mark: [NUT-04](https://github.com/cashubtc/nuts/blob/main/04.md)
- :heavy_check_mark: [NUT-05](https://github.com/cashubtc/nuts/blob/main/05.md)
- :heavy_check_mark: [NUT-06](https://github.com/cashubtc/nuts/blob/main/06.md)
- :heavy_check_mark: [NUT-07](https://github.com/cashubtc/nuts/blob/main/07.md)
- :heavy_check_mark: [NUT-08](https://github.com/cashubtc/nuts/blob/main/08.md)
- :heavy_check_mark: [NUT-09](https://github.com/cashubtc/nuts/blob/main/09.md)## Development
```
nix develop
```This will launch a nix shell with a regtest bitcoind node as well as two lightning nodes.
In order to use the node first a channel will need to be opened.
```
ln1 newaddr
ln2 newaddr
``````
btc sendtoaddress 100
btc sendtoaddress 100
btc getnewaddress
btc generatetoaddress 50
```Connect ln nodes
```
ln2 getinfo
ln1 connect 127.0.0.1 15352
```Open a channel from ln1 to ln2
```
ln1 fundchannel id= amount=10000000
```Open a channel from ln2 to ln1
```
ln1 getinfo
ln2 fundchannel id= amount=10000000
```Generate blocks to confirm channels
```
btc getnewaddress
btc generatetoaddress 50
```Start the mint, by default the mint will use ln1
```
cargo r
```## Implemented Lightning Backends
- :heavy_check_mark: [CLNrpc](https://github.com/ElementsProject/lightning#using-the-json-rpc-interface)
- :construction: [Greenlight](https://github.com/Blockstream/greenlight)
- :construction: [ldk-node](https://github.com/lightningdevkit/ldk-node)
## LicenseCode is under the [BSD 3-Clause License](LICENSE-BSD-3)
## Contribution
All contributions welcome.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.
## Contact
I can be contacted for comments or questions on nostr at [email protected] (npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw) or via email [email protected].