Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Add devnet#63

Merged
2 commits merged intomainfrom
scuba/devnet
Nov 18, 2021
Merged

Add devnet#63
2 commits merged intomainfrom
scuba/devnet

Conversation

@ghost
Copy link

@ghost ghost commented Nov 18, 2021

Changes

  • Add ability to connect to devnet instances of pools and farms

Usage

const connection = new Connection("https://api.devnet.solana.com", "singleGossip");
const orca = getOrca(connection, Network.DEVNET);

One caveat to note is that there are only a few devnet pools avaialble, so if you try to access pools that are only
available on mainnet, the code will throw an error.

@ghost ghost merged commit e503a7f into main Nov 18, 2021
@ghost ghost deleted the scuba/devnet branch November 18, 2021 17:41
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants