Skip to content
/ cinder Public

A Typescript based strategy framework for working with CLOBs on Solana (although extendable to many others).

Notifications You must be signed in to change notification settings

R-K-H/cinder

Repository files navigation

Cinder

Cindering Landscape

License

GPL-3.0 https://www.gnu.org/licenses/gpl-3.0.en.html

This application / project / work in no way associated with Phoenix, OpenBook, Solana, etc., all mentions of any parties or associates are property of the respective party. USE OF THIS APPLICATION WAIVES ANY CLAIMS TO OR OF THE DEVELOPER AND THIS APPLICATION IS TO BE USED AT YOUR OWN RISK.

Risk

USE OF THIS SOFTWARE IMPLIES GREAT RISK, DO SO AT YOUR OWN PERIL! THE APPLICATION AND IT'S RESPECTIVE TOOLS, PARTIES, INTEGRATIONS, SOFTWARES, AND CODE ARE AT RISK OF EXPLOIT AND SHOULD BE CONSIDERED VUNERABLE AT ALL TIMES. THE AUTHOR(S) / CONTRIBUTOR(S) OF THIS SOFTWARE OFFER NO SUPPORT OR SERVICE ANY CLAIMS.

Setup

  1. Create Solana wallet (you're going to need to export PK, so just dummy or new one).
solana-keygen new
  1. Download / install Solana CLI

https://docs.solana.com/cli/install-solana-cli-tools

  1. Set CLI config to devnet
solana config set --url http://api.devnet.solana.com
  1. Set CLI to use your keypair
solana config set --keypair {}
  1. Airdrop Devnet SOL to yourself
solana airdrop 1
  1. Check your balance
solana balance
  1. Setup a Helius RPC account (free) by connecting your wallet in the dev portal https://www.helius.dev/

  2. Copy the example.env to .env and add in your API key

  3. Set the REQUIRE_AIRDROP to true in index.ts

  4. Install dependencies yarn install

  5. Create a pk.ts file in the src/.pk/ folder and include the following with your private key:

const pk: number[] = []
export default pk
  1. yarn start

  2. Once you have an airdrop completed, you'll have 1 SOL and 1000 USDC (unknown tokens, generated for Phoenix). You'll want to hit the UI place a buy order for SOL out of your USDC you can trade.

  3. Happy running

About

A Typescript based strategy framework for working with CLOBs on Solana (although extendable to many others).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published