Skip to content

kushmanmb-org/.github

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

205 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

.github Repository

This repository contains organization-wide configuration, templates, and utilities for blockchain-related operations.

đź”’ Security and Privacy

This repository implements industry-standard security practices following guidance from the Linux Foundation, GitHub Security Lab, and OpenSSF. Key security features include:

  • Automated Dependency Updates: Dependabot monitors and updates dependencies
  • Security Scanning: CodeQL and secret scanning workflows detect vulnerabilities
  • Branch Protection: Required reviews and status checks on main branch
  • Workflow Security: Script injection prevention and minimal permissions
  • Commit Signing: GPG verification for all commits (recommended)
  • Secret Management: Comprehensive .gitignore patterns and environment variable usage

📚 Security Documentation:

Contents

GitHub Documentation

Blockchain Documentation

Development Tools

  • Database Frontend (Go) - Secure database operations with SQL injection prevention, input validation, and proper error handling
  • Bash Configuration - Custom bash functions including foundryup (Foundry installer), cwhois (bgp.tools whois wrapper), and lastcall (Ethereum address transaction query)

Utility Scripts

Blockchain Resources

Quick Start

⚠️ Security Warning: Never commit API keys, private keys, or sensitive credentials to version control. Use environment variables or gitignored local configuration files. See Security Best Practices for detailed guidance.

ENS Creator Verification

Verify and announce kushmanmb.base.eth creator status on Base network:

# Verify ENS creator status
./verify_ens_creator.py --name kushmanmb.base.eth

# Display official creator status announcement
./verify_ens_creator.py --announce

# Output as JSON with details
./verify_ens_creator.py --json --pretty

Official ENS Name: kushmanmb.base.eth (Base Mainnet, Chain ID: 8453)

This ENS name is the official primary consolidation address for the kushmanmb-org organization. The verification script uses only public blockchain data and requires no API keys or private information.

For detailed usage and integration examples, see ENS_VERIFICATION.md.

Git POW Verification

Verify Git commit signatures using GPG to ensure commit authenticity:

# Verify a single commit (current HEAD)
./git_pow_verifier.py --commit HEAD

# Verify a specific commit by SHA
./git_pow_verifier.py --commit abc123def456

# Verify multiple commits from a file
./git_pow_verifier.py --file commits-example.json

# Output as JSON with details
./git_pow_verifier.py --commit HEAD --json --pretty --info

Private Data Protection: Verification configuration files are automatically excluded from version control using .gitignore patterns. Store sensitive verification policies in:

  • verification-data/ directory
  • commits.json files (not example files)
  • verification-config.* files

For detailed usage and GPG setup, see GIT_POW_VERIFICATION.md.

Transaction Hash Verification

Verify blockchain transaction hashes with automatic protection for private data:

# Verify a single transaction hash (Ethereum format)
./verify_tx_hash.py --hash 0x0000000000000000000000000000000000000000000000000000000000000000

# Verify a Bitcoin transaction hash
./verify_tx_hash.py --hash 08901b81e39bc61d632c93241c44ec3763366bd57444b01494481ed46079c898

# Verify multiple hashes from a file
./verify_tx_hash.py --file tx-hashes-example.json

# Output as JSON
./verify_tx_hash.py --hash 0x000...000 --json --pretty

Private Data Protection: Transaction data files are automatically excluded from version control using .gitignore patterns. Store sensitive transaction data in:

  • tx-data/ directory
  • tx-hashes.json files (not example files)
  • transaction-data.* files

For detailed usage and examples, see TX_HASH_VERIFICATION.md.

Blockchain JSON-RPC Server

Start a JSON-RPC server for blockchain transaction operations:

# Start the server (default: 127.0.0.1:8332)
python3 blockchain_rpc_server.py

# Test with the client
python3 blockchain_rpc_client.py \
  --tx 08901b81e39bc61d632c93241c44ec3763366bd57444b01494481ed46079c898 \
  --height 172165 \
  --pretty

# Or test with curl
curl -X POST http://127.0.0.1:8332 \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "blockchain.transaction.get_merkle",
    "params": ["08901b81e39bc61d632c93241c44ec3763366bd57444b01494481ed46079c898", 172165]
  }'

For detailed usage and API documentation, see BLOCKCHAIN_RPC.md.

Query Token Balances

You can query ERC-20 token balances for any Ethereum address using the provided scripts.

Using Bash Script

./query-token-balance.sh --apikey YOUR_API_KEY

Using Python Script

./query-token-balance.py --apikey YOUR_API_KEY --pretty

Using JavaScript/Node.js Script

node query-token-balance.js --apikey YOUR_API_KEY --pretty

Using cURL

Test API Endpoint (Basic GET)
curl --request GET \
  --url https://api.etherscan.io/v2/api

Or use the provided test script:

./api-test.sh
Query Token Balance (Full Example)
curl "https://api.etherscan.io/v2/api?chainid=1&module=account&action=addresstokenbalance&address=0x983e3660c0bE01991785F80f266A84B911ab59b0&page=1&offset=100&apikey=YourApiKeyToken"

For detailed usage and examples, see ETHERSCAN_TOKEN_BALANCE.md.

Query Validator Rewards

You can query Ethereum validator rewards using the Beaconcha.in API v2 with the provided scripts.

Using Bash Script

./query-validator-rewards.sh --apikey YOUR_API_KEY

Using Python Script

./query-validator-rewards.py --apikey YOUR_API_KEY --pretty

Using JavaScript/Node.js Script

node query-validator-rewards.js --apikey YOUR_API_KEY --pretty

Using cURL

Test API Endpoint
./validator-rewards-test.sh
Query Validator Rewards (Full Example)
curl -X POST 'https://beaconcha.in/api/v2/ethereum/validators/rewards-list' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "validators": [1, 2, 3],
    "limit": 10
  }'

For detailed usage and examples, see VALIDATOR_REWARDS.md.

Address Labels Configuration

Manage and validate blockchain address labels with metadata:

# Validate address labels configuration
python3 validate-address-labels.py address-labels.json

# Use the example configuration as a template
cp address-labels.example.json my-labels.json
# Edit my-labels.json with your addresses
python3 validate-address-labels.py my-labels.json

The address labels configuration follows Etherscan API response format and supports:

  • Address identification and categorization
  • Custom labels and reputation scores
  • URL associations for projects and organizations
  • JSON schema validation

For detailed documentation, see ADDRESS_LABELS.md.

Bitcoin Difficulty Adjustment

View Bitcoin network difficulty adjustment data using the mempool.space API:

# Open the HTML file in your browser
open mempool-difficulty-adjustment.html
# Or on Linux:
xdg-open mempool-difficulty-adjustment.html

The page will automatically fetch and display current Bitcoin difficulty adjustment information including progress percentage, difficulty change, estimated retarget date, and remaining blocks.

For detailed usage and API documentation, see MEMPOOL_DIFFICULTY.md.

Query Solana Transfers

Query Solana account transfer history using the Solscan API v2.0:

Using JavaScript/Node.js Script

node query-solana-transfers.js --token YOUR_API_TOKEN --pretty

Using the Example Module

node solscan-example.js

Using axios Directly

import axios from 'axios'

const requestOptions = {
  method: "get",
  url: "https://pro-api.solscan.io/v2.0/account/transfer",
  params: {
    page: "1",
    page_size: "10",
    sort_by: "block_time",
    sort_order: "desc",
  },
  headers: {
    token: process.env.SOLSCAN_API_TOKEN
  },
}

axios
  .request(requestOptions)
  .then(response => console.log(response.data))
  .catch(err => console.error(err));

Security Note: Never commit your API token to version control. Use environment variables (SOLSCAN_API_TOKEN) or pass the token via command-line arguments.

For detailed usage and examples, see SOLSCAN_API.md.

Cryptocurrency Consolidation

Automated workflows for safely consolidating crypto assets across multiple chains:

# Monitor balances across all chains
gh workflow run balance-monitor.yml

# Consolidate funds (dry run first)
gh workflow run crypto-consolidation.yml \
  --field sourceChain=base \
  --field amount=1.0 \
  --field dryRun=true

# Verify a transaction after consolidation
gh workflow run tx-verification.yml \
  --field txHash=0x... \
  --field chain=base

Target Consolidation Address: kushmanmb.base.eth

The consolidation system supports:

  • Multi-chain balance monitoring (Ethereum, Base, Polygon, Arbitrum, Optimism)
  • Secure transaction workflows with multi-signature approval
  • Automated verification and audit trails
  • Gas optimization strategies

For detailed setup and usage instructions, see CRYPTO_CONSOLIDATION.md.

Addresses

  • Primary Consolidation Address: kushmanmb.base.eth
  • Token Balance Query Address: 0x983e3660c0bE01991785F80f266A84B911ab59b0
  • Multisig Wallet Owner: 0x6B834a2f2a24ae7e592AA0843aa2bDF58157bee7
  • Labeled Address (kushmanmb10): 0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43

Community Files

Workflow Templates

The workflow-templates/ directory contains GitHub Actions workflow templates for:

  • JavaScript/TypeScript Projects: Build, lint, and test workflows (Node.js)
  • Go Projects: Build, lint, and test workflows with Makefile support (for repositories like ethpandaops/eth-beacon-genesis)
  • Ruby Projects: Build, lint, and test workflows with Bundler support
  • Cryptocurrency Operations: Balance monitoring and consolidation workflows
  • Release creation and publishing

License

See individual files for licensing information.

About

ETHERx

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.3%
  • JavaScript 40.0%
  • Go 5.3%
  • Shell 5.2%
  • HTML 0.2%