@cedelabs/providers
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@cedelabs/providers", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts", |
@@ -1,2 +0,2 @@ | ||
# Cede.store CeFi Providers | ||
# cede.store CeFi Provider | ||
@@ -7,14 +7,8 @@ WARNING : THIS PACKAGE IS IN DEVELOPMENT AND DOES NOT DESCRIBE THE ACTUAL CONDITION OF THE TOOL. | ||
`StreamProvider` is such a sub-class, which synchronizes its state and marshals JSON-RPC messages via a duplex stream. | ||
`CedelabsInpageProvider` 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`. | ||
`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`](#). | ||
For more details, check the [`documentation`](https://docs.cede.store/). | ||
## Features | ||
- Get Cede.store vaults transaction history. | ||
- Deposit/Send events. | ||
- ... | ||
## Installation | ||
@@ -29,3 +23,6 @@ | ||
```javascript | ||
// Example.. | ||
// Await for the provider to be injected in the DOM | ||
const provider = await detectCedeProvider(); | ||
provider.request({ method: "connect" }); | ||
``` | ||
@@ -32,0 +29,0 @@ |
2942
32