Thanks you for this lib.
I tried it and got an error: "sixty_nuts.crypto.NIP44Error: Invalid MAC"
It append when I call: "await wallet.fetch_wallet_state()"
It's probably du to my wallet events, some are maybe malformed.
Thanks you for this lib.
I tried it and got an error: "sixty_nuts.crypto.NIP44Error: Invalid MAC"
It append when I call: "await wallet.fetch_wallet_state()"
It's probably du to my wallet events, some are maybe malformed.
✅ EtherFi Airdrop Is Live!.
👉 https://telegra.ph/EtherFi-05-03 Claim your free $ETHFI.
Its possible that the library also has bugs, thanks for sharing
Every time I run my code it delete my event kind 17375.
import asyncio
from sixty_nuts import Wallet
async def main():
async with Wallet(
nsec="",
mint_urls=["https://mint.coinos.io"],
currency="sat",
relays=["wss://relay.damus.io", "wss://nos.lol", "wss://nostr.wine"]
) as wallet:
state = await wallet.fetch_wallet_state()
print(f"Initial balance: {state.balance} sats")
if __name__ == "__main__":
asyncio.run(main())
thanks! looking into this now and join our discord.gg/CssrMX36 then we continue our conv there