Commit Graph

24 Commits

Author SHA1 Message Date
Riordan Panayides 8805559df1 Add fly deploy scripts, load markets from group at interval 2023-07-14 16:20:07 +01:00
solpkr 84d120645a
update readme to reflect new default value for CONSUME_EVENTS_LIMIT (#20)
* set the default CONSUME_EVENTS_LIMIT to 19

* update readme to reflect new default value for CONSUME_EVENTS_LIMIT

---------

Co-authored-by: solpkr <solpkr1@gmail.com>
2023-04-02 15:49:11 +01:00
solpkr 98fb847feb
set the default CONSUME_EVENTS_LIMIT to 19 (#19)
Co-authored-by: solpkr <solpkr1@gmail.com>
2023-03-22 07:58:02 +00:00
solpkr 32cd9f01b9
fix unique decimals (#18)
Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-27 21:15:27 +00:00
solpkr ee498ebf88
reduce transaction size by using duplicate pks for coinFee and pcFee (#17)
Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-27 11:38:55 +00:00
solpkr 1c1a14cd34
Load multiple markets simultaneously during startup (#16)
* load multiple markets at once. For large amounts of markets lots and lots of getAccountInfo's are being called simultaneously. Condense this into smaller GMA calls.

The associated account tokens are passed to the dex instructions but as it happens they don't actually need to be created for the market to be cranked. We can just get the address without calling the rpc to check if they exist or create them.

before: each market had to call getAccountInfo to get the account Info then 2 more calls to getAccountInfo to get the decimals for the baseMint and QuoteMint - even if we had already fetched these baseMints and quoteMints we would keep re-fetching them for each market that had them. There was also a further call to getAccountInfo to check if the associated token account existed for each baseMint token which would then create the account if it does not exist.

At least in my test environment, loading many markets was causing me RPC errors due to the spraying of all these getAccountInfo calls at the same time. This would happen a relatively small number of markets (around 25) but now with these changes I am able to load up to 325 markets at once (still testing limits)

---------

Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-26 23:08:51 +00:00
solpkr cd5e13c19c
fix chunking in gma + add chunk util function (#14)
* fix chunking in gma + add chunk util function

* rename resp variable and re-order arg options

---------

Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-15 16:31:45 +00:00
solpkr 881cbf7cb0
Add zstd compression (#12)
* Use ZSTD compression for GMA calls
---------
Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-15 10:30:42 +00:00
solpkr de728f2861
utilize minContextSlot to ensure that results from the same slots will not be processed (#13)
Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-14 18:42:35 +00:00
Brian Long 20122bcc6d
Adds an option to provide an alternate markets.json file. (#11) 2023-02-13 13:24:25 +00:00
Brian Long c275c7f9f6
Updates README & comments. (#10) 2023-02-12 22:50:27 +00:00
solpkr 4320c01047
support single tx for multiple markets + bump specific markets (#9)
support single tx for multiple markets + bump specific markets
---------
Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-11 15:11:22 +00:00
SpaceMonkey 5f48141873 clean up 2023-02-11 01:27:44 +02:00
solpkr 206ee8952e
add try catch in getLatestBlockhash loop (#8)
* add try catch in getLatestBlockhash loop

---------

Co-authored-by: solpkr <solpkr1@gmail.com>
2023-02-10 23:24:04 +00:00
SpaceMonkey 6b6f5c1f4b clean up 2023-02-06 15:15:24 +02:00
0xdhruv.sol 634ca12d1c
feat: added top market support (#2)
optionally poll list of top markets by volume to crank
2023-02-06 12:50:11 +00:00
SpaceMonkey 286fd40bba fix blockhash bug 2023-02-01 15:10:46 +02:00
SpaceMonkey 380cefa3db support keypair or wallet_path 2023-02-01 13:55:20 +02:00
SpaceMonkey 40742594b2 blockhash 2023-02-01 11:51:18 +02:00
SpaceMonkey 788850c311 ADD RLB/USDC 2023-02-01 02:20:29 +02:00
SpaceMonkey 8cffb7aec9 update README to explain env vars 2023-02-01 02:11:57 +02:00
SpaceMonkey d4301d970c cu limit is too low 2023-02-01 02:08:26 +02:00
SpaceMonkey 27305c6896 todo list 2023-02-01 02:06:00 +02:00
SpaceMonkey d8f80c49cc init 2023-02-01 02:00:34 +02:00