Skip to content

Commit

Permalink
Merge branch 'main' into new-chains-for-old-sdk-version
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshirrrcat authored Jan 24, 2024
2 parents 0dc8bfb + 301b38f commit 6ca380f
Show file tree
Hide file tree
Showing 90 changed files with 10,724 additions and 1,531 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,15 @@ Orion’s SDK is free to use and does not require an API key or registration. Re
## Install

```console
npm i simple-typed-fetch
npm i @orionprotocol/sdk
```

## Usage

## Initialization

> :warning: **Ethers ^5.6.0 required**
> :warning: **Ethers ^6.7.0 required**
```js
// Node.js
Expand Down
2 changes: 1 addition & 1 deletion docs/INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { BaseProvider } from "@metamask/providers";
import { ethers } from "ethers";

const startApp = async (provider: BaseProvider) => {
const web3Provider = new ethers.providers.Web3Provider(provider);
const web3Provider = new ethers.Web3Provider(provider);
await web3Provider.ready;
const signer = web3Provider.getSigner(); // ready to go
};
Expand Down
Loading

0 comments on commit 6ca380f

Please sign in to comment.