Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@pontem/hw-app-aptos
Advanced tools
transport
Transport a transport for sending commands to a devicescrambleKey
string a scramble key (optional, default "aptos"
)import Aptos from "hw-app-aptos";
const aptos = new Aptos(transport);
Get application version.
aptos.getVersion().then(r => r.version)
Returns Promise<AppConfig> an object with the version field
Get Aptos address (public key) for a BIP32 path.
Because Aptos uses Ed25519 keypairs, as per SLIP-0010 all derivation-path indexes will be promoted to hardened indexes.
aptos.getAddress("m/44'/637'/1'/0'/0'").then(r => r.address)
Returns Promise<AddressData> an object with publicKey, chainCode, address fields
Sign an Aptos transaction.
aptos.signTransaction("m/44'/637'/1'/0'/0'", txBuffer).then(r => r.signature)
Returns Promise<{signature: Buffer}> an object with the signature field
FAQs
Ledger Hardware Wallet Aptos Application API
The npm package @pontem/hw-app-aptos receives a total of 0 weekly downloads. As such, @pontem/hw-app-aptos popularity was classified as not popular.
We found that @pontem/hw-app-aptos demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.