AFK-AlignedFamKernel / afk_monorepo

AFK: Aligned Fam Kernel - Monorepo
https://afk-community.xyz
MIT License
15 stars 42 forks source link

BIP-340 Taproot signature #274

Open MSghais opened 3 days ago

MSghais commented 3 days ago

Description

Create a Nostr private key and public key BIP-340 Taproot compatible. Encrypt data in a contract?

Idea, research need to be done on it.

Not sure if it's possible but look cool:

guha-rahul commented 3 days ago

Hi , can i take this up? I have on project which implemented ECDSA signatures before but I need to learn about Nostr to work on this

baitcode commented 3 days ago

Would love to do the research and publish results as PR with code or README.md in case it is not possible to implement.

mimisavage commented 2 days ago

Can I contribute to this one?

bruhhgnik commented 2 days ago

Can i work on this, i have worked on similar things before

aniruddhaaps commented 2 days ago

First I will add the ability to derive Taproot-compatible private and public keys, in BIP-340, to the system Encrypt Private Key: Take the public key of the Starknet account and use it to encrypt the BIP-340 private key. Securely store it within a smart contract or AA wallet Link Nostr & Starknet:

Create a smart contract that links the Starknet account with the Nostr-derived private key, so Nostr can sign events via Starknet. Research adding a name service for identity management.

Recovery Mechanism: Design recovery flow allowing restoration of keys via Starknet, if possible.

Testing: Test the generation of keys, encryption, and signature over Nostr events. For each contract function, write tests.

Supa-mega commented 2 days ago

Could I take over this issue?

baitcode commented 1 day ago

@MSghais Could you provide a bit more details?