feat: add @solisting/sdk package scaffold

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
thesn10
2026-06-24 22:02:41 +02:00
parent 3425bc7ab9
commit d245785b32
7 changed files with 3595 additions and 1066 deletions

11
sdk/codama.solisting.json Normal file
View File

@@ -0,0 +1,11 @@
{
"idl": "./src/idl/solisting.json",
"scripts": {
"js": [
{
"from": "@codama/renderers-js",
"args": ["./src/generated/solisting"]
}
]
}
}

24
sdk/package.json Normal file
View File

@@ -0,0 +1,24 @@
{
"name": "@solisting/sdk",
"version": "0.1.0",
"private": true,
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"generate": "codama run js --config codama.solisting.json",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@descro/sdk": "file:../../../../../descro/sdk",
"@solana/kit": "^6.0.0",
"@solana/program-client-core": "^6.4.0"
},
"devDependencies": {
"@codama/nodes-from-anchor": "^1.4.1",
"@codama/renderers-js": "^2.2.0",
"codama": "^1.6.0",
"typescript": "^6.0.3",
"vitest": "^3.0.0"
}
}

1428
sdk/src/idl/solisting.json Normal file

File diff suppressed because it is too large Load Diff

12
sdk/tsconfig.json Normal file
View File

@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"skipLibCheck": true,
"outDir": "./dist"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}