{"id":50490878,"url":"https://github.com/melonask/solana-skills","last_synced_at":"2026-06-02T02:31:19.504Z","repository":{"id":356080306,"uuid":"1228438470","full_name":"melonask/solana-skills","owner":"melonask","description":"A specialized skill for interacting with Solana blockchains.","archived":false,"fork":false,"pushed_at":"2026-05-06T13:36:33.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T15:40:35.731Z","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-05-04T02:37:42.000Z","updated_at":"2026-05-06T13:38:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/melonask/solana-skills","commit_stats":null,"previous_names":["melonask/solana-skills"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/melonask/solana-skills","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Fsolana-skills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Fsolana-skills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Fsolana-skills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Fsolana-skills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melonask","download_url":"https://codeload.github.com/melonask/solana-skills/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melonask%2Fsolana-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.731Z","updated_at":"2026-06-02T02:31:19.487Z","avatar_url":"https://github.com/melonask.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# solana-skills\n\nA specialized skill for interacting with Solana/Agave blockchains using `solana-client` v3.x and `solana-sdk` v4.x.\n\n## Overview\n\nUnlike EVM networks which offer `eth_getLogs` for sweeping events, Solana requires polling account signatures and parsing transaction metadata to extract Native SOL and SPL Token transfers. Furthermore, modern Web3 protocols (like x402 V2) demand precise cryptographic verification and robust End-to-End (E2E) testing environments.\n\nThis skill provides the exact patterns required for fetching and parsing transactions, verifying x402 protocol payment signatures, and automating native Agave localnet E2E testing pipelines (specifically engineered to bypass Apple Silicon Docker panics).\n\n## Installation\n\n```bash\nnpx skills add melonask/solana-skills\n```\n\n## What This Skill Covers\n\n- **Native E2E Localnet Automation:** Bash scripts to natively install Agave, spin up `solana-test-validator`, and provision mock SPL tokens (avoiding Rosetta 2 AVX Docker panics on M-series Macs).\n- **x402 V2 Protocol Verification:** Mathematically verifying exact pre/post SPL token balances for a single `PAYMENT-SIGNATURE` payload.\n- **Full Rust E2E Testing:** Using `#[tokio::test]` to simulate both the Client (executing transfers) and the Server (intercepting and verifying transactions via RPC).\n- **RPC Connections:** Utilizing modern asynchronous `solana_client::nonblocking::rpc_client::RpcClient`.\n- **Signature Sweeping:** Polling `get_signatures_for_address_with_config` for background ledger synchronization.\n- **Ledger Mapping:** Using `account_index` as a unique `event_idx` to prevent double-crediting in SQL databases.\n\n## File Structure\n\n```text\nsolana/\n└── SKILL.md                          # Main skill file (Localnet automation, x402 verification, E2E Rust tests, and ledger sweeping)\n```\n\n## License\nProvided as-is for development with LLM assistants.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelonask%2Fsolana-skills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelonask%2Fsolana-skills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelonask%2Fsolana-skills/lists"}