This repository contains organization-wide configuration, templates, and utilities for blockchain-related operations.
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:
- Security Policy - Vulnerability reporting and disclosure
- Security Best Practices - Protecting API keys and sensitive data
- Workflow Security - GitHub Actions security guidelines
- Branch Protection - Repository security configuration
- Git Key-Pairs Guide - Comprehensive overview of SSH and GPG key-pairs for Git authentication and commit signing
- Connecting to GitHub with SSH - Complete guide for setting up SSH authentication with GitHub
- GPG Key Management - Comprehensive guide for managing GPG keys, signing commits, and refreshing keys from keyservers
- Git POW Verification - Verify Git commit signatures using GPG with secure practices
- ENS Creator Verification - Verify and announce kushmanmb.base.eth creator status on Base network
- Cryptocurrency Consolidation - Automated workflows for safely consolidating crypto assets to kushmanmb.base.eth
- Transaction Hash Verification - Verify blockchain transaction hashes with private data protection using .gitignore
- Address Labels Configuration - Best practices for configuring blockchain address labels and metadata
- Blockchain JSON-RPC Server - JSON-RPC 2.0 server for blockchain transaction operations (Electrum protocol)
- Multisig Wallet ABI - Documentation for Ethereum multisignature wallet smart contract
- Etherscan Token Balance API - Guide for querying ERC-20 token balances using Etherscan API v2
- Validator Rewards API - Query Ethereum validator rewards using Beaconcha.in API v2
- Bitcoin Difficulty Adjustment API - Example HTML page for fetching Bitcoin difficulty adjustment data using mempool.space API
- Solscan API - Query Solana account transfer history using Solscan API v2.0
- 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)
- verify_ens_creator.py - Verify ENS creator status on Base network (kushmanmb.base.eth)
- git_pow_verifier.py - Verify Git commit signatures using GPG (Proof of Work verification)
- verify_tx_hash.py - Verify blockchain transaction hashes (Ethereum and Bitcoin formats)
- blockchain_rpc_server.py - JSON-RPC server for blockchain.transaction.get_merkle
- blockchain_rpc_client.py - Client for testing the JSON-RPC server
- api-test.sh - Simple script to test Etherscan API v2 endpoint connectivity
- validator-rewards-test.sh - Simple script to test Beaconcha.in API v2 endpoint connectivity
- query-token-balance.sh - Bash script for querying token balances
- query-token-balance.py - Python script for querying token balances
- query-token-balance.js - JavaScript/Node.js script for querying token balances
- query-validator-rewards.sh - Bash script for querying validator rewards
- query-validator-rewards.py - Python script for querying validator rewards
- query-validator-rewards.js - JavaScript/Node.js script for querying validator rewards
- query-solana-transfers.js - JavaScript/Node.js script for querying Solana account transfers via Solscan API
- test-verify.js - JavaScript verification utilities for transaction hashes and ENS names
- verify-contract.js - JavaScript smart contract verification utilities for Ethereum addresses and ABI handling
- validate-address-labels.py - Python script for validating address labels configuration
- address-labels.json - Address labeling configuration with metadata
- address-labels.example.json - Example address labels configuration with multiple entries
- address-labels.schema.json - JSON schema for address labels validation
- blockchain-address.json - Blockchain address information
- multisig-wallet.abi.json - ABI definition for multisig wallet contract
- mempool-difficulty-adjustment.html - HTML example for fetching Bitcoin difficulty adjustment data
- solscan-api-config.example.json - Configuration template for Solscan API queries
- solscan-example.js - Example usage of Solscan API with axios
⚠️ 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.
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 --prettyOfficial 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.
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 --infoPrivate Data Protection: Verification configuration files are automatically excluded from version control using .gitignore patterns. Store sensitive verification policies in:
verification-data/directorycommits.jsonfiles (not example files)verification-config.*files
For detailed usage and GPG setup, see GIT_POW_VERIFICATION.md.
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 --prettyPrivate Data Protection: Transaction data files are automatically excluded from version control using .gitignore patterns. Store sensitive transaction data in:
tx-data/directorytx-hashes.jsonfiles (not example files)transaction-data.*files
For detailed usage and examples, see TX_HASH_VERIFICATION.md.
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.
You can query ERC-20 token balances for any Ethereum address using the provided scripts.
./query-token-balance.sh --apikey YOUR_API_KEY./query-token-balance.py --apikey YOUR_API_KEY --prettynode query-token-balance.js --apikey YOUR_API_KEY --prettycurl --request GET \
--url https://api.etherscan.io/v2/apiOr use the provided test script:
./api-test.shcurl "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.
You can query Ethereum validator rewards using the Beaconcha.in API v2 with the provided scripts.
./query-validator-rewards.sh --apikey YOUR_API_KEY./query-validator-rewards.py --apikey YOUR_API_KEY --prettynode query-validator-rewards.js --apikey YOUR_API_KEY --pretty./validator-rewards-test.shcurl -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.
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.jsonThe 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.
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.htmlThe 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 account transfer history using the Solscan API v2.0:
node query-solana-transfers.js --token YOUR_API_TOKEN --prettynode solscan-example.jsimport 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.
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=baseTarget 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.
- Primary Consolidation Address:
kushmanmb.base.eth - Token Balance Query Address:
0x983e3660c0bE01991785F80f266A84B911ab59b0 - Multisig Wallet Owner:
0x6B834a2f2a24ae7e592AA0843aa2bDF58157bee7 - Labeled Address (kushmanmb10):
0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43
- Code of Conduct
- Contributing Guide
- Support
- Security Policy
- Security Best Practices - Guidelines for protecting API keys and sensitive data
- Workflow Security - GitHub Actions security best practices
- Branch Protection - Repository security configuration guide
- Funding Information
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
See individual files for licensing information.