{"id":46638216,"url":"https://github.com/tetherto/create-wdk-module","last_synced_at":"2026-03-08T02:13:15.397Z","repository":{"id":341771846,"uuid":"1135975931","full_name":"tetherto/create-wdk-module","owner":"tetherto","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-03T07:58:09.000Z","size":4737,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-03T11:20:23.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tetherto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-16T21:34:13.000Z","updated_at":"2026-03-03T07:58:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tetherto/create-wdk-module","commit_stats":null,"previous_names":["tetherto/create-wdk-module"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tetherto/create-wdk-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fcreate-wdk-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fcreate-wdk-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fcreate-wdk-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fcreate-wdk-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tetherto","download_url":"https://codeload.github.com/tetherto/create-wdk-module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetherto%2Fcreate-wdk-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30242406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"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-03-08T02:13:10.455Z","updated_at":"2026-03-08T02:13:15.386Z","avatar_url":"https://github.com/tetherto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-wdk-module\n\nCreate WDK (Wallet Development Kit) modules with a single command.\n\nhttps://github.com/user-attachments/assets/e342eeef-1e45-4ac0-bd16-bb5cdd63d501\n\n## Quick Start\n\n```bash\nnpx create-wdk-module@latest\n```\n\nOr with specific options:\n\n```bash\n# Create a wallet module\nnpx create-wdk-module@latest wallet stellar\n\n# Create a swap protocol module\nnpx create-wdk-module@latest swap jupiter solana\n\n# Create with npm scope\nnpx create-wdk-module@latest wallet stellar --scope @myorg\n```\n\n## Module Types\n\n| Type | Description | Example |\n|------|-------------|---------|\n| `wallet` | Blockchain wallet integration | `wdk-wallet-stellar` |\n| `swap` | DEX/token swap protocol | `wdk-protocol-swap-jupiter-solana` |\n| `bridge` | Cross-chain bridge protocol | `wdk-protocol-bridge-wormhole-evm` |\n| `lending` | DeFi lending protocol | `wdk-protocol-lending-compound-evm` |\n| `fiat` | Fiat on/off-ramp provider | `wdk-protocol-fiat-moonpay` |\n\n## CLI Options\n\n| Option | Alias | Description | Default |\n|--------|-------|-------------|---------|\n| `[type]` | | Module type | (prompt) |\n| `[name]` | | Module/protocol name | (prompt) |\n| `[blockchain]` | | Target blockchain | (prompt) |\n| `--scope \u003cscope\u003e` | `-s` | npm scope (e.g., @myorg) | none |\n| `--git` | | Initialize git repository | true |\n| `--no-git` | | Skip git initialization | |\n| `--yes` | `-y` | Skip prompts, use defaults | false |\n| `--version` | `-v` | Show version | |\n| `--help` | `-h` | Show help | |\n\n## Interactive Mode\n\nWhen run without arguments, the CLI guides you through the setup:\n\n```bash\n$ npx create-wdk-module@latest\n\n  Create WDK Module\n\n? What type of module do you want to create?\n  \u003e Wallet Module (blockchain wallet integration)\n    Swap Module (DEX/token swap integration)\n    Bridge Module (cross-chain bridging)\n    Lending Module (DeFi lending protocol)\n    Fiat Module (fiat on/off-ramp)\n\n? What is the blockchain name? (e.g., \"stellar\", \"solana\")\n  \u003e stellar\n\n? npm scope (leave empty for none, e.g., @myorg):\n  \u003e\n\n? Initialize git repository?\n  \u003e Yes\n\nCreating wdk-wallet-stellar...\n\n✓ Template files copied\n✓ Initialized git repository\n\nSuccess! Created wdk-wallet-stellar at ./wdk-wallet-stellar\n\nNext steps:\n  cd wdk-wallet-stellar\n  npm install\n  npm test\n\nDocumentation: https://docs.wallet.tether.io/sdk/wallet-modules\n```\n\n## Generated Project Structure\n\n### Wallet Module\n\n```\nwdk-wallet-stellar/\n├── .github/\n│   └── workflows/\n│       └── build.yml\n│       └── publish.yml\n│   └── ISSUE_TEMPLATE/\n│       └── general.md\n│   └── PULL_REQUEST_TEMPLATE.md\n├── src/\n│   ├── wallet-manager-stellar.js\n│   ├── wallet-account-stellar.js\n│   └── wallet-account-read-only-stellar.js\n├── tests/\n│   └── wallet-manager-stellar.test.js\n│   └── wallet-account-stellar.test.js\n│   └── wallet-account-read-only-stellar.test.js\n├── types/\n│   └── index.d.ts\n│   └── src/\n│       └── wallet-manager-stellar.d.ts\n│       └── wallet-account-stellar.d.ts\n│       └── wallet-account-read-only-stellar.d.ts\n├── .editorconfig\n├── .gitignore\n├── .npmignore\n├── bare.js\n├── index.js\n├── LICENSE\n├── package.json\n├── README.md\n└── tsconfig.json\n```\n\n### Protocol Modules\n\nProtocol modules (swap, bridge, lending, fiat) follow a similar structure with a single provider file:\n\n```\nwdk-protocol-swap-jupiter-solana/\n├── src/\n│   └── jupiter-protocol-solana.js\n├── tests/\n│   └── jupiter-protocol-solana.test.js\n├── types/\n│   └── index.d.ts\n│   └── src/\n│       └── jupiter-protocol-solana.d.ts\n├── ...\n```\n\n## Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/tetherto/create-wdk-module.git\ncd create-wdk-module\n\n# Install dependencies\nnpm install\n\n# Run locally\nnpm start\n\n# Run tests\nnpm test\n```\n\n## Resources\n\n- [WDK Documentation](https://docs.wallet.tether.io)\n- [wdk-wallet](https://github.com/tetherto/wdk-wallet) - Base interfaces\n- [wdk-wallet-solana](https://github.com/tetherto/wdk-wallet-solana) - Reference implementation\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetherto%2Fcreate-wdk-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftetherto%2Fcreate-wdk-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetherto%2Fcreate-wdk-module/lists"}