@cultura/sdk
Version:
SDK for interacting with Cultura, a Layer 2 Ethereum blockchain acting as the global registry for human creativity and IP. It ensures transparent licensing, revenue sharing, and secure provenance.
97 lines • 2.68 kB
JSON
{
"name": "@cultura/sdk",
"version": "0.2.0",
"description": "SDK for interacting with Cultura, a Layer 2 Ethereum blockchain acting as the global registry for human creativity and IP. It ensures transparent licensing, revenue sharing, and secure provenance.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"module": "./dist/index.mjs",
"default": "./dist/index.js"
}
},
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"files": [
"dist/**/*"
],
"keywords": [
"cultura",
"blockchain",
"sdk",
"ethereum",
"web3",
"ip",
"intellectual property",
"attestation",
"royalty",
"bond",
"token"
],
"author": {
"name": "Cultura Team"
},
"repository": {
"type": "git",
"url": "https://github.com/cultura/cultura-monorepo/tree/main/packages/sdk"
},
"license": "MIT",
"dependencies": {
"@urql/core": "^5.1.1",
"dotenv": "^16.4.7",
"ethers": "^6.11.1",
"graphql": "^16.10.0",
"viem": "^2.7.9"
},
"devDependencies": {
"@privy-io/react-auth": "^1.67.1",
"@typechain/ethers-v6": "^0.5.1",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@vitest/coverage-v8": "^1.3.1",
"eslint": "^8.56.0",
"jsdom": "^24.0.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typechain": "^8.3.2",
"typedoc": "^0.27.9",
"typedoc-plugin-markdown": "^4.4.2",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
"c8": {
"exclude": [
"test/**/*",
"src/types/**/*"
],
"check-coverage": true,
"lines": 90,
"functions": 90,
"branches": 90,
"statements": 90
},
"scripts": {
"build": "tsup",
"dev": "tsc --watch",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"rebuild-contracts": "cd ../../submodules/CAS && npx hardhat clean && npx hardhat compile",
"sync-types": "cp -r ../typechain-types ./src/types",
"generate-abi": "ts-node scripts/generateAbi.ts",
"lint": "eslint src test",
"lint:fix": "eslint src test --fix",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"docs": "node scripts/generate-docs.js",
"example": "ts-node examples/verified-rights-licensing-flow.ts",
"example:query": "ts-node examples/query-examples.ts",
"typechain": "typechain --target ethers-v6 --out-dir src/types/contracts './src/abi/*.ts'",
"sync-deployments": "ts-node scripts/sync-deployments.ts"
}
}