{"id":22852283,"url":"https://github.com/ironforge-cloud/mudlands","last_synced_at":"2025-04-30T09:20:23.309Z","repository":{"id":204634176,"uuid":"712293504","full_name":"ironforge-cloud/mudlands","owner":"ironforge-cloud","description":"Discovers all IDLs ever published for a Solana program","archived":false,"fork":false,"pushed_at":"2024-03-16T19:43:12.000Z","size":183,"stargazers_count":19,"open_issues_count":1,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-11T20:49:53.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ironforge-cloud.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}},"created_at":"2023-10-31T07:16:47.000Z","updated_at":"2025-01-30T11:43:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"67604257-8aaf-49ab-ab3e-44317e80664e","html_url":"https://github.com/ironforge-cloud/mudlands","commit_stats":null,"previous_names":["ironforge-cloud/mudlands"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironforge-cloud%2Fmudlands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironforge-cloud%2Fmudlands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironforge-cloud%2Fmudlands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironforge-cloud%2Fmudlands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ironforge-cloud","download_url":"https://codeload.github.com/ironforge-cloud/mudlands/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251674857,"owners_count":21625693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-13T06:07:45.385Z","updated_at":"2025-04-30T09:20:23.286Z","avatar_url":"https://github.com/ironforge-cloud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mudlands\n\nMu _ltiple_ _I_ dl and S _olana tooling_, discovers all IDLs ever published for a Solana program.\n\n```ts\nimport { findIdls } from '@ironforge/mudlands'\n\n// Helper to log IDLs\nfunction parseWrites(writes: { idl: Buffer }[]) {\n  return writes.map((w) =\u003e JSON.parse(w.idl.toString()))\n}\n\n// Find all IDLs created for CandyMachine\nconst CANDY_PROGRAM_ID = 'cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ'\n\n// Should use different RPC provider to avoid getting rate limited\nconst SOLANA_MAINNET = 'https://api.mainnet-beta.solana.com'\n\nconst idlWrites = await findIdls(CANDY_PROGRAM_ID, SOLANA_MAINNET)\nconsole.log(JSON.stringify(parseWrites(idlWrites), null, 2))\n```\n\n## Example\n\nTo try an example have a look at [`./examples/check-idl.ts`](./examples/check-idl.ts).\n\nYou can try it via `yarn ex:usd`, but replace `SOLANA_MAINNET` with an RPC node like helius\nfirst, i.e.:\n\n```sh\nRPC=$HELIUS_MAIN yarn ex:usd\n```\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironforge-cloud%2Fmudlands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironforge-cloud%2Fmudlands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironforge-cloud%2Fmudlands/lists"}