Trickshot

Use this whenever the bot makes a buy or sell. Screen-record the trade on the bot's computer and save the replay video to /workspace/trickshots.

Solizardking Updated 0 repo stars

File contents

A trickshot is a screen-recorded replay of a trade, saved as an mp4.

  1. Right before the trade, start recording the desktop in the background (Shell, block_until_ms 0). Find the display with echo $DISPLAY or the latest /workspace/teach-sessions/*/session.json "display" field: ffmpeg -y -f x11grab -framerate 15 -video_size 1280x800 -i "$DISPLAY" -t 180 -c:v libx264 -preset veryfast -pix_fmt yuv420p /workspace/trickshots/trickshot-$(date +%Y%m%d-%H%M%S)-<TICKER>.mp4 Save its PID.
  2. Open the coin page on pump.fun (see pumpfun-find-coin) so the chart and the buy panel are on screen, then run the trade through the bot's OWS wallet under the owner's spend policy and approval. Never press Buy or approve a wallet transaction in the browser.
  3. After the trade confirms, keep recording about 5 seconds to show the fill, then stop with kill -INT <pid> (never -9, or the file breaks).
  4. Check it with ffprobe (duration above 1s). Send the mp4 to the owner as an attachment, along with the amount, tokens received and the Solscan link.
  5. Keep the files in /workspace/trickshots. Never show a seed, private key or token on screen while recording.

Solizardking/pumpfun-plugin commit 90deed71cf

Frequently asked questions

npx get-skill add solizardking/trickshot