{"id":50490870,"url":"https://github.com/melonask/alloy-skills","last_synced_at":"2026-06-02T02:31:19.262Z","repository":{"id":353444087,"uuid":"1216369080","full_name":"melonask/alloy-skills","owner":"melonask","description":"Alloy — Rust Ethereum \u0026 EVM Development Library","archived":false,"fork":false,"pushed_at":"2026-04-23T22:29:33.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-24T00:23:49.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melonask.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-20T20:48:15.000Z","updated_at":"2026-04-23T22:29:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/melonask/alloy-skills","commit_stats":null,"previous_names":["melonask/alloy-skills"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/melonask/alloy-skills","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Falloy-skills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Falloy-skills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Falloy-skills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Falloy-skills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melonask","download_url":"https://codeload.github.com/melonask/alloy-skills/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Falloy-skills/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33803734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-02T02:31:18.204Z","updated_at":"2026-06-02T02:31:19.255Z","avatar_url":"https://github.com/melonask.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# alloy-skills\n\nA comprehensive LLM skill for building blockchain solutions with [Alloy](https://github.com/alloy-rs/alloy) — the next-generation Rust library for Ethereum and EVM-compatible chains.\n\n## Overview\n\nThis skill enables an LLM to accurately develop, debug, and reason about Rust applications that interact with EVM blockchains using the Alloy library. It covers the full stack: from signing a message to deploying contracts and verifying payments on-chain.\n\n## Installation\n\n```bash\nnpx skills add melonask/alloy-skills\n```\n\n## What This Skill Covers\n\n| Category                 | Capabilities                                                                                                                                                                 |\n| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **Digital Signatures**   | EIP-191, EIP-712, EIP-2612 permits — all signer types (private key, mnemonic, Ledger, Trezor, AWS KMS, GCP KMS, YubiKey), keystore management                                |\n| **Payments**             | Native ETH transfers, ERC-20 token transfers, approve/transferFrom, permit2 gasless flows, gas estimation strategies, urgent/private transactions                            |\n| **Payment Verification** | Receipt checking, real-time event log filtering, Transfer event monitoring, payment listener services, block confirmations, reconciliation                                   |\n| **Smart Contracts**      | `sol!` macro for type-safe Solidity bindings, contract deployment (bytecode, artifact, Foundry), static vs dynamic ABI, revert decoding, multicall batching, library linking |\n| **Networking**           | HTTP / WebSocket / IPC providers, provider builder with layers (retry, fallback, logging, delay), batched RPC, multi-chain, authenticated connections                        |\n| **Subscriptions**        | Real-time block, log, and pending transaction streams, event multiplexing, poll-based fallback, ENS resolution                                                               |\n| **Primitives**           | Address, U256, B256, Bytes, `parse_units`/`format_units`, keccak256, ecrecover, type conversions                                                                             |\n| **Local Nodes**          | Anvil (launch, fork, storage override, impersonation), Geth, Reth — testing patterns                                                                                         |\n| **Migration**            | Complete ethers-rs to Alloy migration guide with type mapping and code examples                                                                                              |\n\n## File Structure\n\n```\nalloy/\n├── SKILL.md                          # Main skill — quick start, core patterns, reference index\n└── references/\n    ├── signatures-wallets.md         # Signers, EIP-191/712, keystore, hardware wallets\n    ├── transactions-payments.md      # All tx types, ETH/ERC-20 transfers, gas control\n    ├── payment-verification.md       # Receipt verification, event monitoring, reconciliation\n    ├── providers-networking.md       # HTTP/WS/IPC, layers, batched RPC, multi-chain\n    ├── contracts-abi.md              # sol! macro, deployment, ABI encoding, multicall\n    ├── subscriptions-events.md       # Block/log/tx subscriptions, ENS, production patterns\n    ├── primitives-types.md           # Address, U256, hashing, conversions\n    ├── node-bindings.md              # Anvil, Geth, Reth, testing patterns\n    └── cargo-setup.md                # Dependencies, feature flags, ethers-rs migration\n```\n\n## Quick Example\n\n```rust\nuse alloy::primitives::{address, U256};\nuse alloy::providers::{Provider, ProviderBuilder};\nuse alloy::signers::local::PrivateKeySigner;\nuse alloy::sol;\n\n// Define ERC-20 interface\nsol! {\n    #[sol(rpc)]\n    interface IERC20 {\n        function transfer(address to, uint256 amount) external returns (bool);\n        function balanceOf(address account) external view returns (uint256);\n    }\n}\n\n#[tokio::main]\nasync fn main() -\u003e eyre::Result\u003c()\u003e {\n    let signer: PrivateKeySigner = \"0x...\".parse()?;\n    let wallet = alloy::network::EthereumWallet::from(signer.clone());\n    let provider = ProviderBuilder::new()\n        .wallet(wallet)\n        .connect_http(\"https://eth.llamarpc.com\".parse()?);\n\n    let token = IERC20::new(\n        address!(\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\"), // USDC\n        \u0026provider,\n    );\n\n    let balance = token.balanceOf(signer.address()).call().await?;\n    println!(\"USDC balance: {}\", balance);\n\n    Ok(())\n}\n```\n\n## Requirements\n\n```toml\n[dependencies]\nalloy = { version = \"2.0\", features = [\"full\"] }\ntokio = { version = \"1\", features = [\"rt-multi-thread\", \"macros\"] }\neyre = \"0.6\"\n```\n\n## License\n\nCreated for LLM-assisted blockchain development.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelonask%2Falloy-skills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelonask%2Falloy-skills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelonask%2Falloy-skills/lists"}