AFK-AlignedFamKernel / afk_monorepo

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

Nostr deposit tip with Solidity #158

Closed saimeunt closed 1 month ago

saimeunt commented 1 month ago

This PR implements the DepositEscrowNostr contract in Solidity as a proxy to the underlying DepositEscrow Cairo contract. Tests have been written to ensure the underlying contract is correctly called and Solidity events are emitted accordingly.

TODO: I had to comment the Cairo events emissions because otherwise the Cairo calls from Solidity never return for some unknown reason. Since we emit Solidity version of these contracts in the Solidity interface we still have something usable.

Closes #83