This package provides a basic client library to communicate with the Oasis apps running on a Ledger Nano S/X.
We recommend using the npmjs package in order to receive updates/fixes.
License: Apache License 2.0
We should set up a release process, similar to the oasis-core and oasis-core-ledger repositories.
Related to issue Zondax/ledger-oasis#21
oh ok the error handling code (error-disregarding, I should say) in serializePath
(in ledger-js lib) is wildly twisting the facts
that code reads as follows:
async serializePath(path) {
this.versionResponse = await getVersion(this.transport);
switch (this.versionResponse.major) {
case 0:
case 1:
case 2:
return serializePathv1(path);
default:
return {
return_code: 0x6400,
error_message: "App Version is not supported",
};
}
}
and the this.versionResponse
we get when the app is not open is:
Originally posted by @pro-wh in oasisprotocol/oasis-wallet-web#376 (comment)
I've heard that it has a .signature
field that's 116 bytes long, the first 64 of which are the signature. What else is there?
cross reference oasisprotocol/oasis-sdk#106
We should make sure all method calls fail in case for Ledger app versions <1.8.0 as those versions have a broken address derivation implementation.
Looking at source code in files in
src/
in this repo and source code in files injs/src/
in Ledger Oasis app repo, there is a lot of copying/duplication.
What would be the best way to avoid that?I didn't know about there being a copy of this module in the repo of the app itself. Is this intended? How did the two copies com to be?
I also don't know the genesis of this ๐.
Can you open an issue in this repo to track this unusual code duplication and we can tackle that separately from this PR?
Originally posted by @tjanez in #270 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.