Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@blooo/hw-app-velas
Advanced tools
Ledger Hardware Wallet Velas JavaScript bindings.
To run speculos-smoke
test make sure Speculos running (apdu port 9999 and api rest endpoint http://0.0.0.0:5000) with Velas app installed on it. Then run the command from root workspace:
$ yarn run ts-node packages/hw-app-velas/tests/speculos-smoke.ts
If ledger returns error 6808
- enable blind signature in settings (not needed for unit testing).
Velas API
transport
Transport a transport for sending commands to a devicescrambleKey
string a scramble key (optional, default "velas_default_scramble_key"
)import Velas from "@blooo/hw-app-velas";
const velas = new Velas(transport);
Get Velas address (public key) for a BIP32 path.
Because Velas uses Ed25519 keypairs, as per SLIP-0010 all derivation-path indexes will be promoted to hardened indexes.
velas.getAddress("44'/501'/0'").then(r => r.address)
Returns Promise<{address: Buffer}> an object with the address field
Sign a Velas transaction.
velas.signTransaction("44'/501'/0'", txBuffer).then(r => r.signature)
Returns Promise<{signature: Buffer}> an object with the signature field
Get application configuration.
velas.getAppConfiguration().then(r => r.version)
Returns Promise<AppConfig> application config object
FAQs
Ledger Hardware Wallet Velas Application API
We found that @blooo/hw-app-velas demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.