New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@infinex/infinex-sdk

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infinex/infinex-sdk - npm Package Compare versions

Comparing version 0.1.2 to 1.0.0-viem

LICENSE

102

package.json
{
"name": "@infinex/infinex-sdk",
"version": "0.1.2",
"description": "A SDK to interact with Infinex smart contracts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"version": "1.0.0-viem",
"main": "./sdk/index.ts",
"files": [
"dist/**/*"
"./sdk/contracts",
"./sdk/abis",
"./sdk/utils",
"./sdk/chains",
"./sdk/build.ts",
"./sdk/config.ts",
"./sdk/env.ts",
"./sdk/types.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/infinex-io/infinex-sdk.git"
"scripts": {
"build": "forge build && pnpm build:cannon",
"build:cannon": "cannon build",
"build:cannon-N2O": "cannon build cannonfile.N2O.toml",
"build:cannon-O2": "cannon build cannonfile.O2.toml",
"build:hardhat": "hardhat cannon:build",
"build:sdk": "pnpm tsx ./sdk/build.ts",
"cannon:inspect": "cannon inspect infinex:1 -w ./deployments/local --sources",
"cannon:verify": "cannon verify infinex:0.0.1@main -c CHAIN -a ETHERSCAN_KEY",
"clean": "rm -rf dist cache artifacts typechain deployments/test && pnpm cannon clean",
"codecheck": "pnpm format && pnpm lint && pnpm slither && pnpm gitleaks",
"debug": "cannon test cannonfile.toml --wipe -- --force -vvvv --no-match-contract OLD_* --match-test ",
"dev": "forge build && pnpm cannon build --keep-alive --port 13370",
"fetch:addresses": "pnpm tsx ./sdk/scripts/getPublishedContracts.ts",
"forge:build": "forge build",
"forge:clean": " forge clean",
"format": "pnpm format:common && pnpm format:sol",
"format:check": "prettier . --check && ./scripts/run forge fmt --check",
"format:common": "prettier . --write",
"format:sol": "forge fmt",
"gitleaks": "./scripts/run gitleaks detect --no-git --config ./.gitleaks.toml --verbose",
"lint": "pnpm lint:eslint && pnpm lint:sol",
"lint:eslint": "eslint --no-error-on-unmatched-pattern --max-warnings=0 .",
"lint:sol": "solhint --max-warnings=0 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'",
"postinstall": "./scripts/run forge install",
"slither": "./scripts/run slither .",
"start": "CANNON_PROVIDER_URL=RPC_URL ./scripts/run cannon infinex:0.1.0@main -c CHAIN",
"start:non-interactive": "cannon infinex:1 --non-interactive --host 0.0.0.0",
"test": "cannon test cannonfile.toml --wipe -- --force --no-match-contract OLD_*",
"test:cannon-fast": "cannon test cannonfile.toml --",
"test:forge": "forge test --no-match-contract OLD_*",
"test:hardhat": "hardhat test",
"test:hardhat-debug": "DEBUG=cannon:cli:rpc pnpm test:hardhat",
"test:healthcheck": "vitest run --config ./vitest.config.ts healthcheck",
"test:sdk": "vitest run --config ./vitest.config.ts",
"test:upgrade": "cannon test cannonfile.upgrade.toml --wipe -- --force"
},
"keywords": [],
"license": "MIT",
"dependencies": {
"@typechain/ethers-v6": "^0.5.1",
"dotenv": "^16.3.1",
"ethers": "^6.9.2",
"typechain": "^8.3.2"
"abitype": "^1.0.2",
"viem": "^2.12.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@nomicfoundation/hardhat-foundry": "1.1.1",
"@solana/spl-token": "^0.4.6",
"@solana/web3.js": "^1.90.0",
"@synthetixio/core-contracts": "^3.3.6",
"@synthetixio/perps-market": "^3.3.6",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@usecannon/cli": "2.14.2",
"@wormhole-foundation/wormhole-query-sdk": "0.0.6",
"axios": "1.6.0",
"commander": "^12.1.0",
"dotenv": "10.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-markdown": "^3.0.1",
"hardhat": "2.22.2",
"hardhat-cannon": "2.14.2",
"hardhat-contract-sizer": "^2.10.0",
"node-fetch": "3.3.2",
"prettier": "^3.2.5",
"solhint": "^4.5.4",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"scripts": {
"test": "jest",
"dev": "tsc -p ./tsconfig.json --watch --inlineSourceMap",
"build": "tsc -p ./tsconfig.json",
"clean": "rm -rf ./dist/ && rm -rf ./src/deployments/",
"lint": "eslint ./src/ --fix",
"typecheck": "tsc --noEmit",
"generate:sources": "node scripts/prepare-source-files.js",
"generate": "pnpm clean && pnpm generate:sources"
"typedoc": "^0.25.13",
"vite": "^5.2.11",
"vitest": "^1.6.0",
"wormhole-solidity-sdk": "github:wormhole-foundation/wormhole-solidity-sdk"
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc