Skip to content

Instantly share code, notes, and snippets.

View iGroza's full-sized avatar
🪄
(-80538738812075974)³ + (80435758145817515)³ + (12602123297335631)³

Kirill Ageychenko iGroza

🪄
(-80538738812075974)³ + (80435758145817515)³ + (12602123297335631)³
View GitHub Profile
@iGroza
iGroza / pod install error
Created May 11, 2023 06:38
pod install error
RNFBAnalytics: Using default Firebase/Analytics with Ad Ids. May require App Tracking Transparency. Not allowed for Kids apps.
RNFBAnalytics: You may set variable `$RNFirebaseAnalyticsWithoutAdIdSupport=true` in Podfile to use analytics without ad ids.
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Auto-linking React Native modules for target `haqq`: BVLinearGradient, HaqqEncryptionRN, HaqqWeb3UtilsRN, QrCode, RNAppleAuthentication, RNCAsyncStorage, RNCClipboard, RNFBAnalytics, RNFBApp, RNFBDynamicLinks, RNFBMessaging, RNFS, RNGestureHandler, RNGoogleSignin, RNKeychain, RNOS, RNReanimated, RNSVG, RNScreens, RNSentry, RealmJS, TouchID, lottie-react-native, react-native-adjust, react-native-aes, react-native-ble-plx, react-native-blur, react-native-camera, react-native-cameraroll, react-native-detector, react-native-encrypted-storage, react-native-get-random-values, react-native-image-picker, react-native-netinfo, react-native-randombytes, react-native-safe-area-context, react-native-sp
// This is a basic uniswap frontrunning MEV bot
// Made by Merunas follow me on youtube to see how to use it and edit it: https://www.youtube.com/channel/UCJInIwgW1duAEnMHHxDK7XQ
// 1. Setup ethers, required variables, contracts and start function
const { Wallet, ethers } = require('ethers')
const { FlashbotsBundleProvider, FlashbotsBundleResolution } = require('@flashbots/ethers-provider-bundle')
// 1.1 Setup ABIs and Bytecodes
const UniswapAbi = [{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesire
@iGroza
iGroza / adb.log
Last active February 29, 2024 02:54
+ com.facebook.react.views.view.ReactViewGroup{d50a6fd V.E...... .......D 0,0-1080,2184 #8c7} (id=2247)
frame={0, 0, 1080, 2184} scroll={0, 0}
mMeasureWidth=1080 mMeasureHeight=2184
ViewGroup.LayoutParams={ width=match-parent, height=match-parent }
flags={}
privateFlags={HAS_BOUNDS DRAWN}
mFocused
+ com.facebook.react.views.view.ReactViewGroup{fb46b40 V.E...... .......D 0,0-1080,2184 #8c5} (id=2245)
frame={0, 0, 1080, 2184} scroll={0, 0}
mMeasureWidth=1080 mMeasureHeight=2184
export type Currency = {
created_at: string;
icon: string;
id: string;
postfix: string;
prefix: string;
status: string;
title: string;
updated_at: string;
};
{
"jsonrpc": "2.0",
"result": {
"contracts": [
{
"address_type": "contract",
"coingecko_id": "axlwbtc",
"created_at": "2023-12-26T15:04:10.969915Z",
"decimals": 8,
"eth_address": "0x5fd55a1b9fc24967c4db09c513c3ba0dfa7ff687",

You are Groky, the most advanced coding and analytics assistant. Your goal is to provide accurate, well-reasoned, and structured responses based on thorough analysis.

Core Instructions:

  1. Chain-of-Thought Reasoning: Before answering, explicitly outline your thought process to enhance transparency and accuracy.
  2. File Review: Thoroughly analyze the attached files. If any necessary references are missing, ask for them before proceeding.
  3. Clarification: If any aspect of the task is unclear, seek clarification. Do not guess or make assumptions.
  4. Strict Execution: Only perform actions explicitly instructed by the user. Avoid unnecessary or “extra” actions.
  5. Data Integrity: Preserve all original content from the provided files except for the specified updates.
  6. Full Code Output: Always provide complete code without placeholders. If a response is truncated, the user will say “continue.”
  7. Immediate Web Search: Automatically verify all provided or generated informat
@iGroza
iGroza / main.ts
Last active March 12, 2025 05:12
Solana archive RPC node finder
import * as web3 from "npm:@solana/web3.js";
const MAINNET = "https://api.mainnet-beta.solana.com";
const CSV_FILE_NAME = "rpc-nodes.csv";
const connection = new web3.Connection(MAINNET);
const cluster_nodes = await connection.getClusterNodes();
const nodes_with_rpc = cluster_nodes.filter((node) => !!node.rpc);
nodes_with_rpc.push({ rpc: MAINNET } as web3.ContactInfo);
@iGroza
iGroza / main.js
Created March 12, 2025 05:18
Solana public RPC finder
const https = require("https");
const http = require("http");
const fs = require("fs/promises");
const MAINNET = "https://api.mainnet-beta.solana.com";
const CSV_FILE_NAME = "rpc-nodes.csv";
// Helper function for making POST requests
function postRequest(url, data) {
return new Promise((resolve, reject) => {