mirror of
https://github.com/aljazceru/cdk.git
synced 2026-02-05 05:06:14 +01:00
bindings/sdk/python: Mint` example
This commit is contained in:
5
bindings/cashu-sdk-ffi/bindings-python/examples/mint.py
Normal file
5
bindings/cashu-sdk-ffi/bindings-python/examples/mint.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from cashu_sdk import Mint;
|
||||
|
||||
mint = Mint("supersecret", "0/0/0/0", {}, [], 32)
|
||||
|
||||
print(mint.active_keyset_pubkeys().keys().as_hashmap())
|
||||
@@ -317,7 +317,6 @@ interface Wallet {
|
||||
|
||||
interface Mint {
|
||||
constructor(string secret, string derivation_path, record<string, MintKeySet> inactive_keysets, sequence<string> spent_secrets, u8 max_order);
|
||||
|
||||
KeySet active_keyset_pubkeys();
|
||||
KeySetResponse keysets();
|
||||
MintKeySet active_keyset();
|
||||
@@ -332,5 +331,4 @@ interface Mint {
|
||||
void verify_melt_request(MeltRequest melt_request);
|
||||
[Throws=CashuSdkError]
|
||||
MeltResponse process_melt_request(MeltRequest melt_request, string preimage, Amount totoal_spent);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user