Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bosonprotocol/eth-connect-sdk

Package Overview
Dependencies
Maintainers
0
Versions
511
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.

  • 1.6.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
356
increased by105.78%
Maintainers
0
Weekly downloads
 
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 29 Jul 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