thesimplekid b15b3873d3 `bindings/sdk/python: `Mint` example vor 1 Jahr
..
LICENSES c21dc01f13 `bindings/cashu-sdk` re-export cashu vor 1 Jahr
examples b15b3873d3 `bindings/sdk/python: `Mint` example vor 1 Jahr
src c21dc01f13 `bindings/cashu-sdk` re-export cashu vor 1 Jahr
.gitignore 0beca645b8 `bindings/cashu-sdk:` add ffi bindings for `mint` and `wallet` vor 1 Jahr
LICENSE c21dc01f13 `bindings/cashu-sdk` re-export cashu vor 1 Jahr
MANIFEST.in c21dc01f13 `bindings/cashu-sdk` re-export cashu vor 1 Jahr
README.md 1d7bc0cda9 wallet: check proofs status vor 1 Jahr
pyproject.toml c21dc01f13 `bindings/cashu-sdk` re-export cashu vor 1 Jahr
requirements.txt c21dc01f13 `bindings/cashu-sdk` re-export cashu vor 1 Jahr
setup.py c21dc01f13 `bindings/cashu-sdk` re-export cashu vor 1 Jahr

README.md

Cashu Sdk Python bindings

ALPHA This library is in early development, the api will change.

Supported Nuts:

Check: https://github.com/thesimplekid/cashu-crab#implemented-nuts

Build the package

just python

Getting Started

For now this is not published as a package as it is still in early development. So you will have to build it as above. In the future this will be pulished and pip can be used to install.

from cashu_sdk import Wallet, Client, Amount

client = Client("https://mutinynet-cashu.thesimplekid.space")

mint_keys = client.get_keys()

wallet = Wallet(client, mint_keys)

mint_request = wallet.request_mint(Amount.from_sat(10))

print(mint_request.invoice())

print(mint_request.hash())

License

Code is under the BSD 3-Clause License

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 _@thesimplekid.com (npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw) or via email tsk@thesimplekid.com.