Socket
Socket
Sign inDemoInstall

@cedelabs/providers

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cedelabs/providers

WARNING : THIS PACKAGE IS IN DEVELOPMENT AND DOES NOT DESCRIBE THE ACTUAL CONDITION OF THE TOOL.


Version published
Maintainers
1
Created
Source

cede.store provider

WARNING : THIS PACKAGE IS IN DEVELOPMENT AND DOES NOT DESCRIBE THE ACTUAL CONDITION OF THE TOOL.

The BaseProvider implements the Ethereum JavaScript provider specification ([EIP-1193]), but must be modified by a sub-class in order to function. StreamProvider is such a sub-class, which synchronizes its state and marshals JSON-RPC messages via a duplex stream. CedeInpageProvider further extends StreamProvider to support legacy provider interfaces in addition to [EIP-1193], and is used to instantiate the object injected by cede.store into web pages as window.cede.

Documentation

For more details, check the documentation.

Installation

npm install @cedelabs/providers

Usage

import { detectCedeProvider } from '@cedelabs/providers';

// Await for the provider to be injected in the DOM
const provider = await detectCedeProvider();

provider.request({ method: "connect" });

Do Not Modify the Provider

The Provider object should not be mutated by consumers under any circumstances. The maintainers of this package will neither fix nor take responsbility for bugs caused by third parties mutating the provider object.

FAQs

Package last updated on 01 May 2023

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