Skip to content

Instantly share code, notes, and snippets.

View nozim's full-sized avatar
🏠
Working from home

Nozim Mehrubonov nozim

🏠
Working from home
View GitHub Profile
@nozim
nozim / main.js
Last active October 10, 2025 16:34
Source code for @LiveStablecoinBot
// tevent format is following
/*
{
timestamp: Date.now(), // e.g. 1694567890123
fromAddress: "0x1234567890abcdef1234567890abcdef12345678",
fromOwner: { value: "Alice" }, // optional
toAddress: "0xabcdef1234567890abcdef1234567890abcdef12",
toOwner: { value: "Bob" }, // optional
amount: "1000000000000000000", // string for big.Int
tokenAddress: "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
@nozim
nozim / token-volume-cumulative.js
Created October 8, 2025 19:22
Cumulative live token aggregation across ERC20 and TRC20 tokens.
// tevent format is following
/*
{
timestamp: Date.now(), // e.g. 1694567890123
fromAddress: "0x1234567890abcdef1234567890abcdef12345678",
fromOwner: { value: "Alice" }, // optional
toAddress: "0xabcdef1234567890abcdef1234567890abcdef12",
toOwner: { value: "Bob" }, // optional
amount: "1000000000000000000", // string for big.Int
tokenAddress: "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
@nozim
nozim / huq-token-aggregation.js
Last active September 19, 2025 23:23
Log aggregated token transfers across chains
// tevent format is following
/*
{
timestamp: Date.now(), // e.g. 1694567890123
fromAddress: "0x1234567890abcdef1234567890abcdef12345678",
fromOwner: { value: "Alice" }, // optional
toAddress: "0xabcdef1234567890abcdef1234567890abcdef12",
toOwner: { value: "Bob" }, // optional
amount: "1000000000000000000", // string for big.Int
tokenAddress: "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
@nozim
nozim / huq.js
Created September 14, 2025 19:48
Arbitrum Binance hot wallet tracking huq
// tevent format is following
/*
{
timestamp: Date.now(), // e.g. 1694567890123
fromAddress: "0x1234567890abcdef1234567890abcdef12345678",
fromOwner: { value: "Alice" }, // optional
toAddress: "0xabcdef1234567890abcdef1234567890abcdef12",
toOwner: { value: "Bob" }, // optional
amount: "1000000000000000000", // string for big.Int
tokenAddress: "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
package main
import (
"fmt"
"math/rand"
"time"
)
type Ball struct{}
@nozim
nozim / git remove merged branches
Last active December 9, 2015 03:14
Remove all branches merged to master
# took from here http://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged
git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d
@nozim
nozim / git rm all
Last active December 9, 2015 03:11
Remove all files deleted from index
git status --porcelain | grep -E '^ D' | sed -e "s/^ D //" | xargs git rm