Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@bosonprotocol/eth-connect-sdk

Package Overview
Dependencies
47
Maintainers
3
Versions
468
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bosonprotocol/eth-connect-sdk

Implementation of the Web3LibAdapter interface and contract abstractions targeting eth-connect for the Boson Protocol.


Version published
Maintainers
3
Install size
9.07 MB
Created

Readme

Source

@bosonprotocol/eth-connect-sdk

JS lib that exports EthConnectAdapter (implementation of Web3LibAdapter) and contract abstractions targeting eth-connect.

Install

npm i @bosonprotocol/eth-connect-sdk eth-connect

# OR

yarn add @bosonprotocol/eth-connect-sdk eth-connect

Usage

EthConnectAdapter

This adapter is intended to be passed as an constructor argument to @bosonprotocol/core-sdk.

import { CoreSDK } from "@bosonprotocol/core-sdk";
import { EthConnectAdapter } from "@bosonprotocol/eth-connect-sdk";
import { RequestManager } from "eth-connect";

// injected MetaMask provider
const requestManager = new RequestManager(web3.currentProvider);

const ethConnectAdapter = new EthConnectAdapter(requestManager);
const coreSDK = new CoreSDK({
  web3Lib: ethConnectAdapter
  // ...other args
});

Contract abstractions

TODO

FAQs

Last updated on 11 Jun 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc