Skip to content

Instantly share code, notes, and snippets.

View YogaSakti's full-sized avatar
❄️
Looking for winter intern

Yoga Sakti YogaSakti

❄️
Looking for winter intern
View GitHub Profile
@YogaSakti
YogaSakti / checker.js
Last active January 4, 2025 16:28
auto check pengu using curl impersonate
/* eslint-disable max-lines-per-function */
/* eslint-disable no-sync */
const solanaWeb3 = require('@solana/web3.js');
const { Connection, Keypair, PublicKey, sendAndConfirmTransaction, LAMPORTS_PER_SOL, SystemProgram, Transaction, VersionedMessage, VersionedTransaction } = solanaWeb3
const { sign } = require('tweetnacl');
const { decodeUTF8 } = require('tweetnacl-util');
const bs58 = require('bs58');
const bip39 = require('bip39');
const { derivePath } = require('ed25519-hd-key')
@YogaSakti
YogaSakti / bscRpcTester.js
Created April 23, 2025 05:59
Binance Smart Chain RPC Tester
const fetch = require('node-fetch');
const rpcNodes = [
'***.***.***.***',
'***.***.***.***',
];
async function getReferenceBlock() {
try {
const res = await fetch('https://bsc-mainnet.public.blastapi.io', {