GithubHelp home page GithubHelp logo

Comments (4)

mitschabaude avatar mitschabaude commented on July 27, 2024 1

Hey, thanks a lot for the feedback. This is on our testnet roadmap, the idea is that snarkyJS will only handle the transaction construction, and signing/sending is done by either another library or - preferably! - by interfacing with a browser wallet. We are in contact with the Auro wallet to make that work.

It's good to have it in its own github issue!

from o1js.

mirceanis avatar mirceanis commented on July 27, 2024 1

Excellent!

I'm developing a framework for verifiable data and decentralized identitiy (https://veramo.io) and would like to integrate snapps and some snarkyjs circuit logic.

This separation of concerns is very important, since these 2 aspects of transaction lifecycle don't always live in the same app, or even on the same machine.

An intermediate solution is to be able to serialize/deserialize signed transactions.
This way, the "signer" can act on a higher level and also build the transactions, not just sign blind data, but then the logic that sends transactions and waits for them can still live in a frontend.

Does this make sense?
I think serializing signed transactions is important for its own sake. I can create a different issue for that if you agree :)

from o1js.

mitschabaude avatar mitschabaude commented on July 27, 2024 1

Makes sense to me!

Re: serializing transactions, to interact with browser extension we will have to send transactions with postMessage, and if that works then serialization is probably only a small step away. So I think it can stay coupled to this issue.

from o1js.

mitschabaude avatar mitschabaude commented on July 27, 2024 1

This is done -- in current snarkyjs, you can leave out the fee payer key and sign with mina-signer

from o1js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.