
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
handle-sdk
Advanced tools
Read the docs here.
Please note that this SDK is still a work in progress.
Currently, only the Kovan testnet is supported.
Install the package with yarn or NPM:
npm install --save handle-sdk
yarn add handle-sdk
Initialise the SDK with an ethers Signer
or Provider
:
signer = new ethers.Wallet(
process.env.PRIVATE_KEY,
new ethers.providers.InfuraWebSocketProvider("kovan", process.env.INFURA_KEY)
);
// Load the SDK.
const handleSDK = await SDK.from(signer);
// Load user vaults.
await handleSDK.loadVaults();
Mint some fxAUD
using Ether as collateral:
const vault = handleSDK.vaults.find((x) => x.token.symbol === "fxAUD");
await vault.mintWithEth(
ethers.utils.parseEther("0.01"), // 1 cent of fxAUD
ethers.utils.parseEther("0.0003") // approximately 1 AUD in Ether
);
FAQs
handle.fi SDK
The npm package handle-sdk receives a total of 17 weekly downloads. As such, handle-sdk popularity was classified as not popular.
We found that handle-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.