Skip to content

Instantly share code, notes, and snippets.

@benjiqq
benjiqq / RTX_3090_v6.1.1.Benchmark
Created December 3, 2025 09:07 — forked from Chick3nman/RTX_3090_v6.1.1.Benchmark
Hashcat v6.1.1 benchmark on the Nvidia RTX 3090
NVIDIA Driver Version: 456.38 CUDA Version: 11.1
Credit: blazer
For benchmarking the card and allowing me to release the benchmarks here
There are some warnings about the CUDA Toolkit/Driver version but they dont appear to affect functionality or speed.
It appears to be some sort of version missmatch issue during detection and is seemingly just cosmetic. Noted for further investigation.
hashcat (v6.1.1-83-g90fb4aad) starting in benchmark mode...
@benjiqq
benjiqq / txconfirm.rs
Created September 21, 2025 03:42
txconfirm
use anyhow::{anyhow, Result};
use log::{error, info, warn};
use serde::{Deserialize, Serialize};
use solana_client::rpc_client::RpcClient;
use solana_sdk::{
commitment_config::CommitmentConfig, signature::Signature, transaction::TransactionError,
};
use std::time::Duration;
use tokio::time::sleep;
@benjiqq
benjiqq / stream.py
Created December 11, 2024 10:37
mcaps stream example
import json
import asyncio
import signal
import os
import sys
from datetime import datetime, timezone
from dotenv import load_dotenv
import nats
from nats.aio.msg import Msg
from log_config import get_logger
@benjiqq
benjiqq / get_solana_clock.py
Created October 3, 2024 04:53 — forked from SEJeff/get_solana_clock.py
Getting the Solana Proof of History clock time via the Clock sysvar
#!/usr/bin/env python3
# Uses construct and is a bit nicer code
import pytz
import pprint
import datetime
from construct import Int64ul, Int64sl, Struct
import requests
import base64
def main():
@benjiqq
benjiqq / minsniper.mjs
Created May 6, 2024 15:22
minimal sniper
/*from shadowystupidcoders */
import { PublicKey, Keypair, Connection, ComputeBudgetProgram, SystemProgram, Transaction, TransactionInstruction } from '@solana/web3.js';
import { u8, struct, NearUInt64 } from "@solana/buffer-layout"
import { u64, publicKey } from "@solana/buffer-layout-utils"
import * as spl from "@solana/spl-token"
import BN from 'bn.js'
import dotenv from 'dotenv';
import bs58 from 'bs58';
dotenv.config();
@benjiqq
benjiqq / weirdtx.json
Created April 30, 2024 09:37
weird tx
{
"slot": 262953324,
"transaction": {
"signatures": [
"5sM7MGqLTrPKPjqPgYcKrL9Beq7wNmV4E3hxJXJnGTgfJPeXUR8ULGX9nGaREHrx7FWaaKnnScp1tXaffDJzokah"
],
"message": {
"accountKeys": [
{
"pubkey": "FHdEcRSnXGvdVsws5FxmvGSgJAUpXcCr4RhsGjuDHxCU",
@benjiqq
benjiqq / tx.json
Created April 27, 2024 07:34
encoded tx
{
"slot": 262201689,
"transaction": {
"signatures": [
"5a5fadQjqcxdsAu8cKEEpS4Ymr7ZoM2U3ssqDnmwVY5YpHiv97vH1Vq6guBnYEP3P4NY6PqFRD2oEyRCAL1FkrwE"
],
"message": {
"accountKeys": [
{
"pubkey": "9nnwVAfRKGKpzeTcRxdyqbSroroGCM1HTfMZ489UxEaV",
{
"blockTime": 1713533892,
"meta": {
"computeUnitsConsumed": 124408,
"err": null,
"fee": 25002,
"innerInstructions": [
{
"index": 2,
"instructions": [
@benjiqq
benjiqq / decode_ray.ts
Created April 19, 2024 06:53
decode ray
// 0 => LogType::Init,
// 1 => LogType::Deposit,
// 2 => LogType::Withdraw,
// 3 => LogType::SwapBaseIn,
// 4 => LogType::SwapBaseOut,
export function decodeRayLogInit(encodedLog: string): any {
// pub struct InitLog {
// pub log_type: u8,
@benjiqq
benjiqq / bulltard
Last active December 22, 2023 12:09
bullard.json
{
"name": "SolBullTard",
"symbol": "SBT",
"uri": "https://gist.githubusercontent.com/benjiqq/7a9ad6e9f00d3691155b37e86c24ec6f/raw/33bfd2b48fd64de3f39c6660458eed52077061ca/bulltard",
"seller_fee_basis_points": 500
}