This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA", | |
"metadata": { | |
"name": "pump_amm", | |
"version": "0.1.0", | |
"spec": "0.1.0", | |
"description": "Created with Anchor" | |
}, | |
"instructions": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fetches accounts from raydium | |
use std::{ | |
fs::File, | |
io::{BufWriter, Read, Write}, | |
str::FromStr, | |
time::{Duration, SystemTime}, | |
}; | |
use serde::Deserialize; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true | |
do | |
echo "Running" | |
ore --rpc "$1" --keypair "$2" --priority-fee 1000 mine --threads 4 | |
echo "Exited" | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x0055479897a27808d98e19a3fc66179B1D6beb32 |