Comments (4)
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.
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.
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.
This is done -- in current snarkyjs, you can leave out the fee payer key and sign with mina-signer
from o1js.
Related Issues (20)
- Check examples for vulnerabilities
- Finish offchain storage implementation HOT 1
- Offchain storage implementation HOT 1
- Async version of `asProver()`
- How to write circuits and how provable code works
- List of common pitfalls for TS devs HOT 1
- Difference between constants/variables/provable code/JS native code/when to use what
- How do circuits actually work? Why are some things more efficient than others? HOT 2
- Cross contract calls/interoperability/composability in general
- Add "deploying to mainnet" to how to deploy"
- TypeError: workersReadyResolve is not a function error while compiling HOT 2
- Indexed Merkle tree to improve offchain state efficiency HOT 8
- Proper handling of `Struct.empty()` when one of the base types doesn't have `empty()`
- Types function inconsistency HOT 5
- docs: In the example for Field.inv() the variable `someField` has to be used instead of the non-existent variable `example`
- [Mina-Signer] Support for secure box json keystore
- Allow non-pure provable types as inputs/outputs in zkprogram
- Advanced smart contract testing framework HOT 4
- Error using offchain state from factory contract
- Support feature flags for side-loaded keys HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from o1js.