{"id":23236666,"url":"https://github.com/soundworklabs/soundwork-sdk","last_synced_at":"2025-08-19T23:30:42.683Z","repository":{"id":203841154,"uuid":"706263056","full_name":"SoundWorkLabs/soundwork-sdk","owner":"SoundWorkLabs","description":"TS SDK to interact with soundwork programs ","archived":false,"fork":false,"pushed_at":"2024-08-15T13:10:10.000Z","size":118,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-01T13:12:54.974Z","etag":null,"topics":["sdk","solana","typescript"],"latest_commit_sha":null,"homepage":"https://soundwork.io/","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/SoundWorkLabs.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}},"created_at":"2023-10-17T15:50:37.000Z","updated_at":"2025-03-13T12:22:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"95e015dc-44c6-43b8-a359-14c47786b116","html_url":"https://github.com/SoundWorkLabs/soundwork-sdk","commit_stats":null,"previous_names":["soundworklabs/soundwork-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SoundWorkLabs/soundwork-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoundWorkLabs%2Fsoundwork-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoundWorkLabs%2Fsoundwork-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoundWorkLabs%2Fsoundwork-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoundWorkLabs%2Fsoundwork-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoundWorkLabs","download_url":"https://codeload.github.com/SoundWorkLabs/soundwork-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoundWorkLabs%2Fsoundwork-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271239847,"owners_count":24724740,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"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":["sdk","solana","typescript"],"created_at":"2024-12-19T04:11:57.424Z","updated_at":"2025-08-19T23:30:42.409Z","avatar_url":"https://github.com/SoundWorkLabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Soundwork SDK\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg style=\"margin-bottom:15px\" src=\"https://i0.wp.com/soundwork.io/wp-content/uploads/2023/05/2nd-logo_TINY.png?w=1120\u0026ssl=1\" height=\"80px\" /\u003e\n  \u003ch1\u003e\u003cstrong\u003eSoundwork SDK\u003c/strong\u003e\u003c/h1\u003e\n  \u003cp\u003e\n    \u003cstrong\u003eTypeScript SDK to interact with the Soundwork `listing` and `bidding` programs.\u003c/strong\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca target=\"_blank\" href=\"https://discord.gg/Jyw67UfQ\"\u003e\u003cimg alt=\"Discord Chat\" src=\"https://img.shields.io/badge/chat-discord-blueviolet\" /\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/SoundWorkLabs//blob/master/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/SoundWorkLabs/market-contracts\" /\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://www.npmjs.com/package/@jimii/soundwork-sdk\"\u003e\u003cimg alt=\"SDK\" src=\"https://img.shields.io/npm/v/%40jimii%2Fsoundwork-sdk\"/\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Table of Contents\n\n-   [Installation](#getting-started)\n-   [Examples](#examples)\n-   [Contributing](#contributing)\n\n## Getting Started\n\n```bash\n# yarn\nyarn add @soundwork-oss/soundwork-sdk\n# npm\nnpm install @soundwork-oss/soundwork-sdk\n# pnpm\npnpm install @soundwork-oss/soundwork-sdk\n```\n\n## Examples\n\nCheck out the extensive list of methods you can call in the [tests directory](./tests/) for both bid and list programs.\n\n## List Program\n\n```ts\n// import the SDK\nimport { SoundworkListSDK } from \"@soundwork-oss/soundwork-sdk\";\n\n// Initialize the list program SDK\nlet listSDK = new SoundworkListSDK(provider, connection);\n\n// list an NFT\nlet ix = await listSDK.createListing(nftMint, new BN(1 * LAMPORTS_PER_SOL));\nlet tx = new Transaction().add(ix);\n\nawait sendAndConfirmTransaction(provider.connection, tx, [userKeypair]);\n```\n\n## Bid Program\n\n```ts\n// import the SDK\nimport { SoundworkBidSDK } from \"@soundwork-oss/soundwork-sdk\";\n\n// Initialize the list program SDK\nlet bidSDK = new SoundworkBidSDK(provider, connection);\n\n// Place a bid for an NFT\nlet now = new Date();\nlet expire_ts = now.setFullYear(now.getFullYear() + 1); // ! should default to a year\n\nlet ix = await bidSDK.placeBid(\n\tnftMint,\n\tnew BN(1 * LAMPORTS_PER_SOL),\n\tnew BN(expire_ts)\n);\nlet tx = new Transaction().add(ix);\n\nawait sendAndConfirmTransaction(provider.connection, tx, [\n\tbuyerKeypair,\n]);\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundworklabs%2Fsoundwork-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoundworklabs%2Fsoundwork-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundworklabs%2Fsoundwork-sdk/lists"}