Closed JustLeif closed 6 months ago
To use CSL via Go you need to write a bridge between Go and Rust , example of bridge between rust and react-native you can see here https://github.com/Emurgo/csl-mobile-bridge you can leverage existing code to write your own bridge. To prove wallet/staking_key/any_other_key ownership you need to provide a signature otherwise it would be very difficult to prove that you own it. Signatures is one of cornerstones of an blockchain
To use CSL via Go you need to write a bridge between Go and Rust , example of bridge between rust and react-native you can see here https://github.com/Emurgo/csl-mobile-bridge you can leverage existing code to write your own bridge. To prove wallet/staking_key/any_other_key ownership you need to provide a signature otherwise it would be very difficult to prove that you own it. Signatures is one of cornerstones of an blockchain
Thanks for your help!
I'm starting a project and I would like to write my backend in Go. I want to perform user authentication with a Cardano CIP-30 wallet. I used the Cardano documentation: https://developers.cardano.org/docs/integrate-cardano/user-wallet-authentication/ and I found this library with a JavaScript npm package to perform this validation.
I am not a cryptography expert and I don't currently understand the signature validation code in this library, I was wondering if anyone knows how I can best achieve this same code:
In Go.
Thanks in advance :)
Edit:
Also if anyone knows of a clean way to perform user authentication without a 'data signature' then I would love to know alternate implementations.