Socket
Socket
Sign inDemoInstall

@bosonprotocol/eth-connect-sdk

Package Overview
Dependencies
Maintainers
3
Versions
480
Alerts
File Explorer

Advanced tools

Socket logo

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
Created
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

Package last updated on 11 Jun 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc