diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3225c07 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +scripts/keys/*.json \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..7cdeddb --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# raydium-cli + +Tool for interacting with raydium.io via CLI + +## How to use + +1. Download the [latest release](releases/latest) +2. Unpack it and put in this folder +3. Put your keypairs in `scripts/keys` +4. Enjoy the scripts in `scripts` diff --git a/scripts/donate.sh b/scripts/donate.sh new file mode 100755 index 0000000..3d0c14a --- /dev/null +++ b/scripts/donate.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# raydium_cli=../raydium + +# for keypair in keys/*.json +# do +# $raydium_cli donate 0.1 -k $keypair +# done diff --git a/scripts/keys/README.md b/scripts/keys/README.md new file mode 100644 index 0000000..2a74991 --- /dev/null +++ b/scripts/keys/README.md @@ -0,0 +1 @@ +Put your keypairs in this folder \ No newline at end of file diff --git a/scripts/stake.sh b/scripts/stake.sh new file mode 100755 index 0000000..3a853f5 --- /dev/null +++ b/scripts/stake.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +raydium_cli=../raydium + +POOL=$1 + +for keypair in keys/*.json +do + echo $raydium_cli ido $POOL stake MAX -k $keypair +done