Adds formal verification DSL, multi-sig contract, and Hardhat plugin: synor-verifier crate: - Verification DSL for contract invariants and properties - SMT solver integration (Z3 backend optional) - Symbolic execution engine for path exploration - Automatic vulnerability detection (reentrancy, overflow, etc.) - 29 tests passing contracts/multi-sig: - M-of-N multi-signature wallet contract - Transaction proposals with timelock - Owner management (add/remove) - Emergency pause functionality - Native token and contract call support apps/hardhat-plugin (@synor/hardhat-plugin): - Network configuration for mainnet/testnet/devnet - Contract deployment with gas estimation - Contract verification on explorer - WASM compilation support - TypeScript type generation - Testing utilities (fork, impersonate, time manipulation) - Synor-specific RPC methods (quantum status, shard info, DAG)
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"name": "@synor/hardhat-plugin",
|
|
"version": "0.1.0",
|
|
"description": "Hardhat plugin for Synor blockchain development",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist/",
|
|
"src/",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"lint": "eslint src/**/*.ts",
|
|
"test": "mocha --require ts-node/register test/**/*.ts",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"hardhat",
|
|
"hardhat-plugin",
|
|
"synor",
|
|
"blockchain",
|
|
"smart-contracts",
|
|
"ethereum"
|
|
],
|
|
"author": "Synor Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/synorcc/synor"
|
|
},
|
|
"homepage": "https://synor.cc",
|
|
"peerDependencies": {
|
|
"hardhat": "^2.19.0"
|
|
},
|
|
"dependencies": {
|
|
"@ethersproject/abi": "^5.7.0",
|
|
"@ethersproject/bytes": "^5.7.0",
|
|
"@ethersproject/providers": "^5.7.0",
|
|
"ethers": "^6.9.0",
|
|
"chalk": "^4.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.3.11",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/node": "^20.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
"@typescript-eslint/parser": "^6.14.0",
|
|
"chai": "^4.3.10",
|
|
"eslint": "^8.55.0",
|
|
"hardhat": "^2.19.0",
|
|
"mocha": "^10.2.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.3.0"
|
|
}
|
|
}
|