Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@bosonprotocol/ethers-sdk
Advanced tools
Implementation of the Web3LibAdapter interface and contract abstractions targeting ethers for the Boson Protocol.
@bosonprotocol/ethers-sdk
JS lib that exports EthersAdapter
(implementation of Web3LibAdapter
) and contract abstractions targeting ethers.
npm i @bosonprotocol/ethers-sdk ethers
# OR
yarn add @bosonprotocol/ethers-sdk ethers
EthersAdapter
This adapter is intended to be passed as an constructor argument to @bosonprotocol/core-sdk
.
import { CoreSDK } from "@bosonprotocol/core-sdk";
import { EthersAdapter } from "@bosonprotocol/ethers-sdk";
import { ethers } from "ethers";
// injected web3 provider
const web3Provider = new ethers.providers.Web3Provider(window.ethereum);
const ethersAdapter = new EthersAdapter(web3Provider);
const coreSDK = new CoreSDK({
web3Lib: ethersAdapter
// ...other args
});
We provide fully typed, auto-generated contract abstractions using TypeChain, which targets ethers.
import { contracts } from "@bosonprotocol/ethers-sdk";
const bosonOfferHandler = contracts.IBosonOfferHandler__factory.connect(
contractAddress,
ethersSignerOrProvider
);
FAQs
Implementation of the Web3LibAdapter interface and contract abstractions targeting ethers for the Boson Protocol.
The npm package @bosonprotocol/ethers-sdk receives a total of 335 weekly downloads. As such, @bosonprotocol/ethers-sdk popularity was classified as not popular.
We found that @bosonprotocol/ethers-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.