Skip to content

Commit

Permalink
stub new @agoric/smart-contract package
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Sep 3, 2022
1 parent 0103ff8 commit 4617192
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/agoric-cli/src/sdk-package-names.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default [
"@agoric/pegasus",
"@agoric/same-structure",
"@agoric/sharing-service",
"@agoric/smart-wallet",
"@agoric/solo",
"@agoric/sparse-ints",
"@agoric/spawner",
Expand Down
5 changes: 5 additions & 0 deletions packages/smart-wallet/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Smart Wallet contract

Future home of the Smart Wallet contract.

For the legacy contract, see [@agoric/legacy-smart-wallet](../wallet/contract/README.md).
25 changes: 25 additions & 0 deletions packages/smart-wallet/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// This file can contain .js-specific Typescript compiler config.
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",

"noEmit": true,
/*
// The following flags are for creating .d.ts files:
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
*/
"downlevelIteration": true,
"strictNullChecks": true,
"moduleResolution": "node",
},
"include": [
"*.js",
"scripts/**/*.js",
"src/**/*.js",
"test/**/*.js",
"tools/**/*.js",
],
}
53 changes: 53 additions & 0 deletions packages/smart-wallet/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"name": "@agoric/smart-wallet",
"version": "0.2.0",
"description": "Wallet contract",
"type": "module",
"scripts": {
"build": "exit 0",
"test": "ava",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint-fix": "yarn lint:eslint --fix",
"lint:types": "tsc --maxNodeModuleJsDepth 4 -p jsconfig.json",
"lint:eslint": "eslint ."
},
"devDependencies": {
"ava": "^4.3.1",
"@agoric/inter-protocol": "^0.11.0",
"@agoric/swingset-vat": "^0.28.0",
"@agoric/zoe": "^0.24.0",
"@endo/captp": "^2.0.13"
},
"dependencies": {
"@agoric/assert": "^0.4.0",
"@agoric/ertp": "^0.14.2",
"@agoric/internal": "^0.1.0",
"@agoric/nat": "^4.1.0",
"@agoric/notifier": "^0.4.0",
"@agoric/store": "^0.7.2",
"@agoric/vat-data": "^0.3.1",
"@agoric/vats": "^0.10.0",
"@endo/far": "^0.2.9"
},
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/Agoric/agoric"
},
"author": "Agoric",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Agoric/agoric/issues"
},
"homepage": "https://github.com/Agoric/agoric#readme",
"ava": {
"files": [
"test/**/test-*.js"
],
"timeout": "2m"
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit 4617192

Please sign in to comment.