{"_id":"@cowprotocol/sdk-trading-solana","_rev":"15-74b1e996b01adb3605875bf54319d12f","name":"@cowprotocol/sdk-trading-solana","dist-tags":{"latest":"0.13.0"},"versions":{"0.1.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.1.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.1.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"97f921a4fdf153e7c82cb373a8bc095fbee48902","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.1.0.tgz","fileCount":6,"integrity":"sha512-khisLZJTiHgjyROoYhSQnNzh64tVh5QjGepn3BHqtwZx7XkYabWhyHJFK+nknCw0C/qZuSERWnBSdPmW61ENTQ==","signatures":[{"sig":"MEUCIDchGvnzdFHetzGujgyVEkkZwpmCU0ihdPmyYdJjh4szAiEA/KAuOYyzxCxr7BARuX0LXS5447zI4yLxOgnMRp7O5D0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44513},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"cowprotocol_dev","email":"dev@cow.fi"},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.4.0","@cowprotocol/sdk-trading":"2.3.0","@cowprotocol/sdk-order-book":"4.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.1.0_1788518620476_0.557571726137619","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.3.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.3.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"edcdba9edfc8a41bdd532b3f586cd8f8d5ce269f","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.3.0.tgz","fileCount":6,"integrity":"sha512-4tZW/nFrMPOjaLNQVnhWsIxs7pK0VpLUVe+h8hliq5X4r18qG5UIvjslR44yKnuB+VP7tJmolXTHFaQ4PtnL+A==","signatures":[{"sig":"MEQCIDhfgKRBODUUO9muUEOKYa80VEA2ziHxNmGWIkTkx+K4AiBcIXIPjSmELU6qK4BkknDjnkZA9EixiVO/dizATeUTUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":44513},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.5.0","@cowprotocol/sdk-trading":"2.4.0","@cowprotocol/sdk-order-book":"4.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.3.0_1788527678121_0.5160585106142348","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.4.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.4.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"0c5b70de3ca54895bf82be2cc4d8d126d65dacce","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.4.0.tgz","fileCount":6,"integrity":"sha512-MMAvrHvjB7yrT3rNq1f2S1QLmHu9r0CBRzrzEVvRKt5VMha3gRFK2UQrWx99ifcAlBYW/ES91ltjx0ZZ9wcygQ==","signatures":[{"sig":"MEUCIQCOmnFT+Wz/eRaBIBfkl/yyAAlIeyOF5MN5VZrNLusv0QIgAKU4oX3tf9Wtm5CBI7kA3rlx/KzihlHAYehgy7sJUvY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50312},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.6.0","@cowprotocol/sdk-trading":"2.4.1","@cowprotocol/sdk-order-book":"4.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.4.0_1788790865897_0.4579673566901059","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@cowprotocol/sdk-trading-solana","version":"0.4.1","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.4.1","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"ea112b27379fe6eb69e0c4a1bbece27c2c8febd2","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.4.1.tgz","fileCount":6,"integrity":"sha512-7ZYKpNwDN1/lfeadUYAhJufeS4OimpzUycQcC46PsgU7CjhjN8ZOWQm5oD7mkhj0APaPlAQ/iH3yoki9AVM0gA==","signatures":[{"sig":"MEUCIF43e+lp68PAeYz90ax0XE4ndFw4k3A0uL+nZ0VKp62BAiEAmB48E+vXOss2iv2bcKz3f1FHS4gNHqEyLHLrLaVsYqY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51208},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.6.0","@cowprotocol/sdk-trading":"2.4.1","@cowprotocol/sdk-order-book":"4.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.4.1_1788858878535_0.80223920046238","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.5.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.5.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"833448f9791dca7835f2ed644b4e9fb707225217","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.5.0.tgz","fileCount":6,"integrity":"sha512-KDBeqpTtWw6jJwgQIVcLqaToeEgCA8md8YppXYXIJeRTuGMpyQ7PrtsmXZ2vZwdhWpQ0vUXeUR2FzNNf/Notsw==","signatures":[{"sig":"MEUCIEH3lbA9UxENh2QuEBDLHO39SLs3CgHmuCiYdnfJPARyAiEA6fZLGSFHeyVAa+RgE52wqqPaVPMOwhWJr94B2lgLC/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58840},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.6.0","@cowprotocol/sdk-trading":"2.4.1","@cowprotocol/sdk-order-book":"4.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.5.0_1788950258864_0.9101776263838013","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@cowprotocol/sdk-trading-solana","version":"0.5.1","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.5.1","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"de997789969ae71d514ee7adbd248adda55bc09a","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.5.1.tgz","fileCount":6,"integrity":"sha512-RuU+PVhL4dHdzoV0mNJ4Omssyv1v3CQX8ah5fs2e0iCDSKaOim54LTAgA6Y0lehms2NU4DJKbMUrIA43s76Xlg==","signatures":[{"sig":"MEQCIDXVcsWVaP9n543w3eTrxwPsfyyL02th+zRFN4gpnDPGAiAnXvuHStFRyhS3zx5tblHr24ePjtoEcSsHiE13b7mS3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58839},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.6.0","@cowprotocol/sdk-trading":"2.4.2","@cowprotocol/sdk-order-book":"4.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.5.1_1789399544722_0.04838060904998187","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.6.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.6.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"889ae15bf5e98c38275228c4e493ff46eaa6bd62","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.6.0.tgz","fileCount":6,"integrity":"sha512-iL0oOuOtcliQQWHAA5cX3q2lmHYTHMS2edNEYmNkvyjX/hkrOaSnWUteeZtte3NtgddWFU2Ma/fkg9TsxLWAGQ==","signatures":[{"sig":"MEQCHy3zYzAOkfLCWx4LMjZUGsbveFOSDHGIbV1PWbp/kX0CIQCQ9g0PMFd9/BeEMKI3S77yj+FJ/yn0q4L/O/+YDiDB4g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":59839},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.6.0","@cowprotocol/sdk-trading":"2.5.0","@cowprotocol/sdk-order-book":"4.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.6.0_1789564733559_0.9608240694412014","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.7.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.7.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"a9c39f7b055f34ef82913488bff977894cf44f3f","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.7.0.tgz","fileCount":6,"integrity":"sha512-tQvymaxkGPqu6u5TImvhVPq+C7kGHQs6StoybljnVcU8pt7/zNFW8k1JtMZEuaRmWvCc+ziA13JZMUWdzqHkkw==","signatures":[{"sig":"MEYCIQDqYn8zs9PZPEFCalc1qC3epdijgH6SfMZ6cHaNOffxnAIhAL624qaYgOuaKzXO+04VzgjGwClg+seFAcBgo3q4ewVt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBOXMZD/D4GAUhxzaxRManEB6BWn4u2aUW71MRvbDwFYAiEAlOMiYruNXGy/seEcGazejaQX2xyV+6FxTO6MNnrUYjU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60257},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.6.0","@cowprotocol/sdk-trading":"2.5.0","@cowprotocol/sdk-order-book":"4.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.7.0_1789724129048_0.4696443817794511","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.8.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.8.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"b86ebc3265aa1b15f8645de498bc06baa63e4098","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.8.0.tgz","fileCount":6,"integrity":"sha512-HuSt5mI2dRjRzgDmOdraYnVSZcWMMdHz9HB5oeJ5Mss8cI33rVfWg91tHigetE6h3Mgp/f60Z1KmtCYN8sj+3A==","signatures":[{"sig":"MEQCIExXgpc5YWyPRiKqX+i2wVE+2uLZN8buNsXUSswm2AUhAiAZnrUaNm5RJJsw4WQsrd6TUVaGR9J2YUZHUGbhWBc+Pw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCr9BgDJr8CpZ3wl8+cYago1rrfg2gh/0B2cIOSjFqBbQIhAKilTHcToniwu+bT9BSQzTBs1z7Yc7a5bjUncOxAoUGj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77402},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"deepmerge":"^4.3.1","@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-config":"2.7.0","@cowprotocol/sdk-trading":"2.6.0","@cowprotocol/sdk-app-data":"6.0.5","@cowprotocol/sdk-order-book":"4.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","jest-fetch-mock":"^3.0.3","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.8.0_1789732035184_0.37100250123553513","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.9.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.9.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"21607b2fe108f6db73f1d1e064b53a6bcd327627","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.9.0.tgz","fileCount":6,"integrity":"sha512-NVhBzERQXS+QmZG1UuzdgXfA8fNoMtgS8fFVNoJoxl2M9gqBYHQRmk+74iE4iTSCHOvl/stlao3/aRlmJMYQvw==","signatures":[{"sig":"MEUCIA04uk31wjQ7Hah3LP9oywz9vVYPZ1CXhTNjwaiUJfEiAiEAzX5UNRCirCfl5XLRTRcYFO0u7pR10ytJ1+ek+5HLQNs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICO43AKHOWtHx8Ez+GZBYv7QS0eXNAjMaNCQENZarznJAiBfQQ14D8Idu3r5OjjaDiigBT3tv0vYqTsrmWGhdzvNQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77763},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"deepmerge":"^4.3.1","@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-common":"0.14.0","@cowprotocol/sdk-config":"2.7.0","@cowprotocol/sdk-trading":"2.7.0","@cowprotocol/sdk-app-data":"6.0.6","@cowprotocol/sdk-order-book":"4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.9.0_1789995365980_0.4991609437079625","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.10.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.10.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"cf8027f8f777138adec9c98aa2a3b72cb98cad2c","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.10.0.tgz","fileCount":6,"integrity":"sha512-kbkwRnSMPFGaEQMVqDt7EvRv8/pn0tDp4n0kn4DKkc2LsnyxeB+221Sq+/tPp8dBRteI2fiWJeuPGj8Q8O8wKQ==","signatures":[{"sig":"MEUCICU9fW/DzDMG4TfPzMynhcYqxsDmUEoPuW8YQIgFL9F6AiEAizmLuiXehgDeWnoFsoTjXhBXQw2L748FwumCOl2aKIM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGEI7RkAW9gYGkp33gVNiB0gSggk5F/hUkMHpH+6U0BgAiEA2cp/6OpXj3MeVz0kVNxVsM13vJdU8Gl66Ao+O5349KM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":90681},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"deepmerge":"^4.3.1","@noble/hashes":"^1.4.0","@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-common":"0.14.1","@cowprotocol/sdk-config":"2.7.1","@cowprotocol/sdk-trading":"2.7.1","@cowprotocol/sdk-app-data":"6.0.7","@cowprotocol/sdk-order-book":"4.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.10.0_1790325758516_0.10254087844424209","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.11.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.11.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"4165aeeb06f65f539960ac73f0d92cb859d67fcd","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.11.0.tgz","fileCount":6,"integrity":"sha512-60BLvkhAaDl5R8fWiGhIgTcOzu6n30y1UIXq0SvQqdzRkzbxebaw5QBbxMhh0hFkl+Ym4BwOH+sXsbAiNVkuhA==","signatures":[{"sig":"MEUCIQCGIjg6prgQRW+k5Tm/ftgxAIfpibXiZ/lXvxZYoteYhQIgFhFxOrOrSKZrWumA8DQ9oK8bkalkTdWkTV3TsqG6ZrE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIChW4IBUmXUyZEMMxK7Kh6iPe0XpnRPG1gp4OOi7tSAWAiBx562GppPAt9T3S7/olq+0PxySGiQgbSgWYJp7TAOa1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97635},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"deepmerge":"^4.3.1","@noble/hashes":"^1.4.0","@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-common":"0.14.1","@cowprotocol/sdk-config":"2.7.1","@cowprotocol/sdk-trading":"2.7.2","@cowprotocol/sdk-app-data":"6.0.7","@cowprotocol/sdk-order-book":"4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.11.0_1790338590336_0.2213306828494963","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@cowprotocol/sdk-trading-solana","version":"0.12.0","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.12.0","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"f3fd5ac43ed171753861a1fe72a52209d23c0866","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.12.0.tgz","fileCount":6,"integrity":"sha512-Uy0+nKyaoDeG5IYf/Jv+NDW9aFwQ8jfJz1rG/QlhUFFs9JV1KSonuGjom6v11/AbSaj72ZM8jPgx1epJ6iGmhA==","signatures":[{"sig":"MEUCIF9aBd8kgyVyERs+RmaFDsJp1IncQcHIZIkVevMsXp08AiEA+ojR3hEXrfDbatOy2IU4jAUerokpbnsxnvNpcsCVS+A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC+tb71MMpkR9f7Kqj/1OkB6Mdi4YjIbtdqZt8YnkuXUwIgYI0deQyX5OtPDbzbaTc5Aqd1urXRvmZnGjwfOiCASs0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.12.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112969},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"deepmerge":"^4.3.1","@noble/hashes":"^1.4.0","@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-common":"0.14.1","@cowprotocol/sdk-config":"2.7.1","@cowprotocol/sdk-trading":"2.7.2","@cowprotocol/sdk-app-data":"6.0.7","@cowprotocol/sdk-order-book":"4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.12.0_1790592649007_0.949292138836928","host":"s3://npm-registry-packages-npm-production"}},"0.12.1":{"name":"@cowprotocol/sdk-trading-solana","version":"0.12.1","license":"MIT","_id":"@cowprotocol/sdk-trading-solana@0.12.1","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"dist":{"shasum":"3f863a58e1559e969309b7c8a96ab873b81a9bf9","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.12.1.tgz","fileCount":6,"integrity":"sha512-P/sKxMB0Epa5G4mHcwXt7ixzmZc033nAlBXKAtd2OHpLKsf6NXmI0uol2gVqcGd3rz43cUO0i8BuLLspZUiHwA==","signatures":[{"sig":"MEUCIQDf8mWKtxb6pS/FOud9K+szD9kHHjvcte8v7LfDZnQIagIgaoQmD6DtleG191Z6E7xOA0CoJ8trQtCtikT7FcHHT6Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGkEvXMFSz9hnF8wK40HA/8Eu5Wip7mXX8mtocUEG28jAiBKNcOe6vOtU2rZXmW0qhmWMTJL4LuGnPTwZsknZqQgSQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.12.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112967},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"deepmerge":"^4.3.1","@noble/hashes":"^1.4.0","@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-common":"0.14.2","@cowprotocol/sdk-config":"2.7.2","@cowprotocol/sdk-trading":"2.7.3","@cowprotocol/sdk-app-data":"6.0.8","@cowprotocol/sdk-order-book":"4.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-trading-solana_0.12.1_1790684587143_0.15538575411527122","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"_id":"@cowprotocol/sdk-trading-solana@0.13.0","dist":{"shasum":"e9290b9ffde1d965ffca9aee0d19d83fb8d175b3","tarball":"https://registry.npmjs.org/@cowprotocol/sdk-trading-solana/-/sdk-trading-solana-0.13.0.tgz","fileCount":6,"integrity":"sha512-soMeEl2ohD1SgtoLGVqbP/C3yrQ1MfAySevD0QmYIS8vDeVjoS1QqO1e/vVdsd7GgwWWm/YZMDF+1fvxZXkYVA==","signatures":[{"sig":"MEYCIQCCYVkuBRJ1EE9x6nTWDotsJt3R5iLedRjfbagynLNvOAIhAOwWqLzjPeYp9M4Eki66Y3upYOQbzqUS+pu3fAA8ANwM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC5epy2UPQ8rvsR5KCDg0o7b/E1GA5yFdxwKWqyYnfCXAIhAI1+AjgDHo2ZM+/hPdfJWPsx0qY6a6O8XZLj0ceuyMPD"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cowprotocol%2fsdk-trading-solana@0.13.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":113003},"main":"./dist/index.js","name":"@cowprotocol/sdk-trading-solana","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"license":"MIT","scripts":{"lint":"eslint src/**/*.ts","test":"jest","build":"tsup src/index.ts --format esm,cjs --dts","clean":"rm -rf .turbo && rm -rf node_modules && rm -rf dist","typecheck":"tsc --noEmit","test:watch":"jest --watch","test:coverage":"jest --coverage","coverage:badges":"istanbul-badges-readme --exitCode=1","test:coverage:html":"jest --silent=false --coverage --coverageReporters html"},"version":"0.13.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"e74ec80a-9ccd-4731-a77c-b1abad7ec639"}},"repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","directories":{},"maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"deepmerge":"^4.3.1","@noble/hashes":"^1.4.0","@solana/web3.js":"1.98.4","@solana/spl-token":"0.4.14","@cowprotocol/sdk-common":"0.14.2","@cowprotocol/sdk-config":"2.7.2","@cowprotocol/sdk-trading":"2.7.4","@cowprotocol/sdk-app-data":"6.0.8","@cowprotocol/sdk-order-book":"4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^7.2.0","ts-jest":"^29.0.0","typescript":"^5.2.2","@types/jest":"^29.5.12","@types/node":"^20.17.31","@cow-sdk/typescript-config":"0.0.0-beta.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-trading-solana_0.13.0_1790871955475_0.3891370277365389"}}},"time":{"created":"2026-09-04T10:43:40.240Z","modified":"2026-10-01T16:25:55.933Z","0.1.0":"2026-09-04T10:43:40.617Z","0.3.0":"2026-09-04T13:14:38.302Z","0.4.0":"2026-09-07T14:21:06.026Z","0.4.1":"2026-09-08T09:14:38.670Z","0.5.0":"2026-09-09T10:37:39.005Z","0.5.1":"2026-09-14T15:25:44.859Z","0.6.0":"2026-09-16T13:18:53.672Z","0.7.0":"2026-09-18T09:35:29.127Z","0.8.0":"2026-09-18T11:47:15.270Z","0.9.0":"2026-09-21T12:56:06.104Z","0.10.0":"2026-09-25T08:42:38.619Z","0.11.0":"2026-09-25T12:16:30.432Z","0.12.0":"2026-09-28T10:50:49.087Z","0.12.1":"2026-09-29T12:23:07.219Z","0.13.0":"2026-10-01T16:25:55.573Z"},"license":"MIT","repository":{"url":"https://github.com/cowprotocol/cow-sdk.git","type":"git","directory":"packages/sdk-trading-solana"},"description":"CowProtocol Solana trading: Jupiter-sourced quotes and on-chain CreateOrder posting against the Solana settlement program","maintainers":[{"name":"fairlighteth","email":"michel@cow.fi"},{"name":"cowprotocol_dev","email":"dev@cow.fi"},{"name":"harisang","email":"haris@cow.fi"},{"name":"fedgiac","email":"federico+npmjs@cow.fi"},{"name":"anxolin","email":"anxolin@gmail.com"}],"readme":"<p align=\"center\">\n  <img width=\"400\" src=\"https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png\" alt=\"CoW Protocol logo\" />\n</p>\n\n# Solana Trading SDK\n\n## Test coverage\n\n| Statements                                                                              | Branches                                                                            | Functions                                                                             | Lines                                                                         |\n| --------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |\n| ![Statements](https://img.shields.io/badge/statements-88.17%25-yellow.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-89.32%25-yellow.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-65.51%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-94.48%25-brightgreen.svg?style=flat) |\n\n`@cowprotocol/sdk-trading-solana` is CoW Protocol's Solana settlement client: it turns a quote\ninto an on-chain `CreateOrder` instruction against the CoW Protocol Solana\nsettlement program.\n\n**Experimental.** The settlement program (`cow-settlement-interface` / `solana-programs`) is a young,\nactively evolving deployment — expect breaking changes to the intent wire format, PDA seeds and this\npackage's API across minor versions. The currently deployed program id is exported as\n[`SOLANA_SETTLEMENT_PROGRAM_ID`](https://github.com/cowprotocol/cow-sdk/blob/main/packages/config/src/chains/const/contracts.ts)\nfrom `@cowprotocol/sdk-config` — see it on\n[Solana Explorer](https://explorer.solana.com/address/FYp8R5K4B3B1Kfr7QuWzMz4TwoT7wptjYtxgCrY5sRXb).\n\n```\nnpm install @cowprotocol/sdk-trading-solana\n```\n\nA runnable end-to-end example lives in [`examples/nodejs/solana`](../../examples/nodejs/solana).\n\n## Making a trade\n\n### Step 0 — approve the settlement program as SPL delegate\n\nThe settlement program moves funds out of the seller's token account via a CPI, which SPL Token\nonly allows for an approved `delegate`. Before any order on a given sell-token account can settle,\nthat account's owner must approve the settlement **state PDA** (not the program id itself) as\ndelegate, for at least the amount being sold. `approveCowProtocol` builds that instruction without\nsending it, deriving the sell-token account and delegate for you:\n\n```ts\nconst sdk = new SolanaTradingSdk() // same env as the SDK instance used for the quote below\n\nconst approveInstruction = sdk.approveCowProtocol({\n  ownerAddress: owner,\n  sellTokenAddress: sellMint,\n  approveAmount, // at least the order's sellAmount\n})\n```\n\nThis approval is **not one-time**: like any SPL delegate, each settled order decrements the\ndelegate's remaining allowance by the amount actually transferred, so approving once for exactly one\norder's `sellAmount` leaves nothing for the next one. Check the sell-token account's current\n`delegate`/`delegatedAmount` before building an order, and reapprove (topping the allowance back up)\nwhenever it's insufficient — approving a new amount replaces the previous allowance rather than\nadding to it. Separately, because the delegate PDA is derived from the settlement program's\nmajor/minor version (`getSettlementSeed`), a program upgrade that bumps that version changes the\ndelegate address entirely, requiring a fresh approval regardless of remaining allowance. This step\ncan be sent as its own transaction ahead of time, or bundled with the `CreateOrder` instruction in\nthe same transaction — see [Step 2](#step-2--create-the-order) below.\n\n### Step 1 — get a quote\n\nQuoting needs no signer, just the addresses and amount:\n\n```ts\nimport { OrderKind } from '@cowprotocol/sdk-order-book'\nimport { SolanaTradingSdk } from '@cowprotocol/sdk-trading-solana'\n\nconst sdk = new SolanaTradingSdk() // pass `{ env: 'staging' }` to target staging\n\nconst { quoteResults, solanaQuote, buildOrder, postSwapOrderFromQuote } = await sdk.getQuote({\n  ownerAddress, // the seller's wallet — signs the CreateOrder transaction\n  sellTokenAddress,\n  sellTokenDecimals,\n  buyTokenAddress,\n  buyTokenDecimals,\n  amount, // bigint — sell-side amount for a SELL order, buy-side amount for a BUY order\n  kind: OrderKind.SELL,\n})\n```\n\n- `quoteResults` mirrors the EVM SDK's [`QuoteResults`](../trading/src/types.ts) (trade parameters, suggested slippage, amounts\n  and costs) so UI code can share formatting logic across chains.\n- `solanaQuote` is the Solana-specific quote: the order **intent** that was built from the quote\n  response, its encoded bytes, its `uid`, the order PDA it will live at, and the raw upstream quote\n  (real amounts/slippage) the intent was derived from.\n- Native SOL is accepted as the sentinel address; it's substituted with wrapped SOL (WSOL) before\n  quoting and building the intent, since Solana has no native-token mint to reference on-chain.\n- Passing `sellTokenProgramId` / `buyTokenProgramId` (e.g. `TOKEN_2022_PROGRAM_ID`) is required for\n  Token-2022 mints, since the associated token account address differs by program.\n\n### Step 2 — create the order\n\nTwo ways to get the order on-chain, depending on whether you need to bundle it with other\ninstructions:\n\n**Let the SDK submit it as its own transaction** — pass a signing/sending function at the point of\nsigning:\n\n```ts\nconst result = await postSwapOrderFromQuote(signAndSend)\n// result.orderId, result.txHash / result.signature\n```\n\n`signAndSend` has the shape `(instruction: TransactionInstruction) => Promise<{ signature: string }>`\n— build, sign and send the transaction however fits your app (a `Connection` + `Keypair`, a wallet\nadapter, a Squads/Safe-style multisig flow, etc).\n\n**Bundle the order with your own instructions** — a Solana order is created by a single instruction,\nso it can share one transaction with, say, the Step 0 delegate approval, a native-SOL wrap, or\nanything else. `buildOrder` returns that instruction without sending it:\n\n```ts\nconst { instruction, orderId, orderPda, uid } = await buildOrder()\n\nawait sendMyTransaction([approveInstruction, instruction])\n```\n\nThis is the recommended path whenever the sell-token account's delegate allowance needs\ntopping up for this trade, since it lets the delegate approval and the order creation land\natomically in one transaction.\n\nBoth paths accept the same optional `advancedSettings` (currently `quoteRequest.receiver` and\n`quoteRequest.validTo`) and apply them identically — overriding `receiver` or `validTo` re-derives\nthe order's `uid` and PDA so they still match the intent actually being created:\n\n```ts\nawait postSwapOrderFromQuote(signAndSend, { quoteRequest: { receiver: otherWallet.toBase58() } })\n```\n\n### Step 3 — read back the result\n\nBoth `postSwapOrderFromQuote` and `buildOrder` return an `orderId` — the `uid` as the `0x`-prefixed\nhex string the CoW order-book API uses for EVM orders too, so it can be handled uniformly by shared\nUI/state code. `solanaQuote.orderPda` is the on-chain account the order lives at once the\n`CreateOrder` instruction lands.\n\n## Cancelling an order\n\n`cancelOrder` builds the `CancelOrder` instruction for an order at a given PDA, without sending it.\nCancelling is idempotent — cancelling an already-cancelled order does nothing:\n\n```ts\nconst sdk = new SolanaTradingSdk()\n\nconst cancelInstruction = sdk.cancelOrder({\n  ownerAddress: owner, // must match the order's intent owner; signs the transaction\n  orderPda, // from buildOrder / buildLimitOrder / findOrderPda\n})\n\nawait sendMyTransaction([cancelInstruction])\n```\n\nThis is the cheaper, common form: it requires the order to already be on-chain — its data is recovered\nfrom `orderPda` and only its `cancelled` flag is set. If the order might not exist on-chain yet (e.g.\ncancelling before its `CreateOrder` instruction has landed), pass `intent` too; the instruction then\ncreates the order already cancelled instead of failing, funding its rent from `createdByAddress`\n(defaults to `ownerAddress`), which must sign in that case:\n\n```ts\nsdk.cancelOrder({ ownerAddress: owner, orderPda, intent, createdByAddress: sponsor })\n```\n\n### Cancelling several orders in one transaction\n\nThe settlement program has no dedicated batch-cancel instruction, but a Solana transaction holds\nmultiple instructions natively, so cancelling several orders atomically just means bundling their\nindividual `CancelOrder` instructions into one transaction. `cancelOrders` builds one instruction per\nentry — accounts shared across entries (`owner`, `createdBy`, the System Program) get deduplicated when\nthe transaction is compiled, so batches for a single owner are cheap:\n\n```ts\nconst cancelInstructions = sdk.cancelOrders([\n  { ownerAddress: owner, orderPda: orderPdaA },\n  { ownerAddress: owner, orderPda: orderPdaB },\n])\n\nawait sendMyTransaction(cancelInstructions)\n```\n\nA legacy transaction is capped at 1232 bytes total, so very large batches may need to be split across\nmultiple transactions.\n\n## Limit orders\n\n`getQuote`'s `buildOrder` always signs the market-quoted amount (± slippage) — correct for a swap,\nbut wrong for a limit order that should rest on-chain at a price the caller chooses, not a snapshot\nof the market at signing time. `buildLimitOrder` builds that same kind of `CreateOrder` instruction\ndirectly from the caller's own `sellAmount`/`buyAmount`, without calling `getQuote` at all:\n\n```ts\nimport { OrderKind } from '@cowprotocol/sdk-order-book'\nimport { SolanaTradingSdk } from '@cowprotocol/sdk-trading-solana'\n\nconst sdk = new SolanaTradingSdk()\n\nconst { instruction, orderId, orderPda, uid } = await sdk.buildLimitOrder({\n  ownerAddress,\n  sellTokenAddress,\n  buyTokenAddress,\n  sellAmount, // bigint — the caller's own price, not a quoted amount\n  buyAmount,\n  kind: OrderKind.SELL,\n  validTo, // unix timestamp, seconds — when the order expires\n  partiallyFillable,\n  appData, // exactly 32 bytes, used as-is — see below\n})\n\nawait sendMyTransaction([approveInstruction, instruction])\n```\n\n- Takes the same token-account/mint resolution as `getQuote` (native SOL → WSOL substitution,\n  `receiverAddress` defaulting to `ownerAddress`, `sellTokenProgramId`/`buyTokenProgramId` for\n  Token-2022 mints), but needs no upstream quote and no signer to build.\n- `appData` is used exactly as given — no hashing, no doc, no merging against a quoted value.\n  Solana has no agreed `appData` convention yet.\n  `hashAppDataDoc` is available if you want to derive them from an app-data doc yourself.\n- Still requires [Step 0](#step-0--approve-the-settlement-program-as-spl-delegate) before the order\n  can settle, and the returned `instruction` can be bundled with that approval the same way\n  `buildOrder`'s can.\n- Uses the `env` the `SolanaTradingSdk` instance was constructed with, unless overridden per call via\n  `env` in the params.\n\n## The intent model\n\nEvery Solana order is, at its core, a `SolanaOrderIntent` — a fixed-layout struct that is the direct\nTypeScript counterpart of `OrderIntent` in `cow-settlement-interface` (`interface/src/data/intent.rs`).\nUnlike an EVM order (an EIP-712 message the owner signs off-chain and the order-book stores), a\nSolana intent is never signed as data — it's written directly into an on-chain account by an\ninstruction the owner's wallet signs.\n\n```ts\ninterface SolanaOrderIntent {\n  owner: PublicKey // signs the CreateOrder transaction\n  buyTokenAccount: PublicKey // receives the buy-side proceeds — implicitly encodes the receiver\n  buyMint: PublicKey\n  sellTokenAccount: PublicKey // funds pulled from here — must be owned by `owner`; implicitly encodes the spender\n  sellMint: PublicKey\n  sellAmount: bigint\n  buyAmount: bigint\n  validTo: number // unix timestamp, seconds\n  kind: OrderKind // SELL | BUY\n  partiallyFillable: boolean\n  createdOnChain: boolean // must be true — see \"Authentication\" below\n  appData: Uint8Array // exactly 32 bytes, opaque to the settlement program; no convention defined yet, sent as zeroes\n}\n```\n\n### Encoding\n\n`encodeOrderIntent` packs the intent into the exact 213-byte (`ENCODED_ORDER_INTENT_SIZE`) little-endian\nlayout the settlement program reads (`EncodedOrderIntent::from(&OrderIntent)`):\n\n| Bytes | Field                            |\n| ----- | --------------------------------- |\n| 32    | `owner`                           |\n| 32    | `buyTokenAccount`                 |\n| 32    | `buyMint`                         |\n| 32    | `sellTokenAccount`                |\n| 32    | `sellMint`                        |\n| 8     | `sellAmount` (u64 LE)             |\n| 8     | `buyAmount` (u64 LE)              |\n| 4     | `validTo` (u32 LE)                |\n| 1     | flags (bit 0 `createdOnChain`, bit 1 `kind === BUY`, bit 2 `partiallyFillable`) |\n| 32    | `appData`                         |\n\n### Identity: uid and the order PDA\n\n`hashOrderIntent` takes the SHA-256 digest of the encoded intent bytes. That 32-byte digest is both:\n\n- the order's **uid** (`toOrderId` formats it as the `0x`-prefixed id used across the SDK), and\n- the middle seed of the order's **program-derived address** (`findOrderPda`), alongside a\n  version-embedded settlement seed (`getSettlementSeed`, `\"settlement v\" + version`, padded to a\n  fixed width so seeds from different versions can't collide) and a trailing `\"order\"` seed.\n\nBecause the uid is a hash of the intent's content, any change to the intent — including an\n`advancedSettings` override to `receiver` or `validTo` — changes the uid and therefore the PDA the\norder will be created at. `buildSolanaSwapOrder` re-derives both whenever `advancedSettings`\nactually changes the intent, so the instruction it returns always targets the PDA matching the\nintent it encodes.\n\n### The `CreateOrder` instruction\n\n`buildCreateOrderInstruction` builds the instruction that writes the intent on-chain, matching\n`CreateOrder::into::<Instruction>()`:\n\n- **data**: `[discriminator = 2, ...213 intent bytes]`\n- **accounts**: `owner` (readonly signer), `createdBy` (writable signer — funds the new order PDA's\n  rent; may equal `owner`), `orderPda` (writable), the System Program\n\n### The `CancelOrder` instruction\n\n`buildCancelOrderInstruction` (used by `SolanaTradingSdk.cancelOrder`) builds the counterpart\ninstruction that cancels an order, matching `CancelOrder::into::<Instruction>()` — the `intent_bytes`\nfield on the wire is optional (`cow-settlement-interface` v0.4.1):\n\n- **data**: `[discriminator = 11]` alone to cancel an order already on-chain (its data is recovered\n  from `orderPda`), or `[discriminator = 11, ...213 intent bytes]` to also create it already cancelled\n  if `orderPda` doesn't exist yet\n- **accounts**: `owner` (readonly signer), `createdBy`, `orderPda` (writable), the System Program —\n  `createdBy` is a writable signer only in the create-cancelled form, since only that form moves rent\n- Idempotent: cancelling an already-cancelled order does nothing\n\n### Authentication: why `createdOnChain` must be `true`\n\n`cow-settlement-interface` supports two ways an intent can be authenticated: created on-chain (the\nowner signs the `CreateOrder` transaction themselves) or via an off-chain Ed25519-presigned order\nthat anyone can submit on the owner's behalf. This SDK only implements the former —\n`encodeOrderIntent` always sets the on-chain flag, and the settlement program authenticates the\norder against the transaction's own signature rather than a separate signed payload. This is the\nSolana counterpart of an EVM `PRESIGN` order (`buildSolanaSwapOrder` reports\n`signingScheme: SigningScheme.PRESIGN` for exactly this reason) rather than an EIP-712 `EIP712` one.\n\n## Example app\n\n[`examples/nodejs/solana`](../../examples/nodejs/solana) is a runnable, end-to-end demo: it gets a\nquote, approves the settlement program's delegate, builds the `CreateOrder` instruction, bundles\nboth into one transaction and submits it. **It targets mainnet-beta by default and trades real\nfunds** — see that example's own README for setup, including how to point it at devnet instead.\n\n## Why Solana trading looks different from EVM trading\n\nOn EVM chains, `TradingSdk` gets a quote from the CoW order-book API, has the caller sign an\nEIP-712 typed order, and POSTs the signed order to the order-book, which later settles it. Solana\nhas neither an order-book API to post to nor an implicit global signer:\n\n- **Quotes don't come from the CoW order-book (yet).** `SolanaTradingSdk.getQuote` currently sources\n  pricing and route discovery from an external quoting API, then builds a CoW Protocol order\n  **intent** from the result. That API is used for quoting only — orders are never submitted through\n  it, only ever created via the CoW settlement program. This is expected to move onto the CoW\n  order-book API directly as Solana support matures.\n- **Orders are created entirely on-chain.** There is no signed order body to POST. Creating an order\n  means submitting a single `CreateOrder` instruction that writes the order intent into a new\n  program-derived account (the order PDA). The transaction signature that lands on-chain *is* the\n  order's authentication.\n- **No bound signer.** The EVM SDK gets its signer from a global adapter set once at app startup.\n  This package has no such adapter: quoting needs no signer at all, and a signing/sending function\n  (`SolanaSignAndSend`) is passed only at the point of actually submitting a transaction. That also\n  means a quote can be turned into a raw `TransactionInstruction` (via `buildOrder`) without ever\n  involving a signer, so it can be composed into a larger transaction built and sent by the caller.\n","readmeFilename":""}