
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@mahadao/arth-ethers
Advanced tools
Ethers-based library for reading ARTH protocol state and sending transactions.
Install in your project:
npm install --save @mahadao/arth-base @mahadao/arth-ethers ethers@^5.0.0
Connecting to an Ethereum node and sending a transaction:
const { Wallet, providers } = require("ethers");
const { EthersARTH } = require("@mahadao/arth-ethers");
async function example() {
const provider = new providers.JsonRpcProvider("http://localhost:8545");
const wallet = new Wallet(process.env.PRIVATE_KEY).connect(provider);
const arth = await EthersARTH.connect(wallet);
const { newTrove } = await arth.openTrove({
depositCollateral: 5, // ETH
borrowARTH: 2000
});
console.log(`Successfully opened a ARTH Loan (${newTrove})!`);
}
See packages/examples in the repo.
ARTH's Dev UI itself contains many examples of @mahadao/arth-ethers
use.
For now, it can be found in the public ARTH repo.
FAQs
ARTH SDK Ethers-based implementation
We found that @mahadao/arth-ethers 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.