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

@machinomy/contracts

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@machinomy/contracts - npm Package Compare versions

Comparing version 4.0.13 to 4.0.15

build/contracts/ECRecovery.json

82

package.json
{
"name": "@machinomy/contracts",
"version": "4.0.13",
"version": "4.0.15",
"description": "Machinomy contracts managed by Truffle",

@@ -12,41 +12,27 @@ "license": "Apache-2.0",

"type": "git",
"url": "git+https://github.com/machinomy/machinomy-contracts.git"
"url": "https://github.com/machinomy/machinomy.git"
},
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"dist/"
"lib/",
"build/"
],
"directories": {
"test": "test"
},
"config": {
"truffleTests": "test/*.test.js",
"truffleTests": "lib/*.test.js",
"wrappedArtifacts": "build/contracts/@(Unidirectional).json"
},
"natspec": {
"whitelist": [
"Unidirectional"
]
},
"scripts": {
"prepublish": "yarn lint && yarn build --outDir dist/ && cp -r build/contracts dist/build",
"build": "yarn support:wrap && tsc --project tsconfig.json && tsc --project tsconfig.migrations.json",
"lint": "yarn lint:solidity && yarn lint:typescript",
"lint:solidity": "solium -d contracts/",
"lint:typescript": "tslint --format stylish --project .",
"build": "yarn support:wrap && tsc --project tsconfig.json",
"support:wrap": "yarn support:build && node support/wrap $npm_package_config_wrappedArtifacts --output $npm_package_config_wrappers_dir",
"support:wrap": "yarn support:build && node support/wrap $npm_package_config_wrappedArtifacts",
"support:build": "tsc --project support/tsconfig.json",
"truffle:compile": "truffle compile",
"truffle:test": "run-with-testrpc 'truffle test $npm_package_config_truffleTests'",
"truffle:compile": "truffle compile",
"truffle:migrate": "truffle migrate",
"test": "yarn build && yarn truffle:test",
"doc:natspec": "node support/natspec",
"coverage": "./node_modules/.bin/solidity-coverage"
"prepublish": "yarn support:wrap && yarn build",
"coverage": "solidity-coverage"
},
"author": "Sergey Ukustov <sergey.ukustov@machinomy.com",
"contributors": [
"Alexandr Burtovoy <alexandr.burtovoy@machinomy.com>",
"David Wolever <david@wolever.net>"
],
"devDependencies": {

@@ -56,31 +42,25 @@ "@machinomy/types-ethereumjs-units": "^0.0.2",

"@machinomy/types-truffle": "^0.0.2",
"@machinomy/types-truffle-artifactor": "^0.0.1",
"@machinomy/types-truffle-compile": "^0.0.2",
"@machinomy/types-truffle-config": "^0.0.2",
"@machinomy/types-truffle-contract-sources": "^0.0.1",
"@machinomy/types-truffle-deployer": "^0.0.3",
"@machinomy/types-truffle-resolver": "^0.0.1",
"@types/bignumber.js": "4.0.2",
"@types/chai": "^4.0.5",
"@types/bignumber.js": "^4.0.2",
"@types/chai": "^4.1.3",
"@types/chai-as-promised": "^7.1.0",
"@types/mkdirp": "^0.5.2",
"@types/node": "^10.0.2",
"@types/yargs": "^10.0.1",
"@types/mocha": "^5.2.0",
"@types/node": "^10.1.3",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.0",
"ethereumjs-abi": "https://github.com/ethereumjs/ethereumjs-abi",
"ethereumjs-units": "^0.2.0",
"handlebars": "^4.0.11",
"mkdirp": "^0.5.1",
"run-with-testrpc": "^0.2.1",
"solidity-coverage": "^0.4.9",
"solium": "^1.0.11",
"truffle": "^4.1.0",
"truffle-flattener": "^1.2.3",
"truffle-hdwallet-provider": "^0.0.3",
"tslint": "^5.7.0",
"tslint-config-standard": "^6.0.1",
"typescript": "^2.8.3",
"yargs": "^10.1.1",
"zeppelin-solidity": "^1.6.0"
"coveralls": "^3.0.1",
"mocha": "^5.2.0",
"nyc": "^11.8.0",
"openzeppelin-solidity": "^1.9.0",
"run-with-testrpc": "^0.3.0",
"solidity-coverage": "^0.5.4",
"solium": "^1.1.7",
"truffle": "^4.1.11",
"truffle-hdwallet-provider": "^0.0.5",
"tslint": "^5.10.0",
"tslint-config-standard": "^7.0.0"
},

@@ -90,9 +70,7 @@ "dependencies": {

"bignumber.js": "4.1.0",
"ethereumjs-util": "^5.1.3",
"ethereumjs-units": "^0.2.0",
"ethereumjs-util": "^5.2.0",
"truffle-contract": "^3.0.0",
"web3": "^0.20.1"
},
"resolutions": {
"sha3": "^1.2.1"
}
}

@@ -7,31 +7,17 @@ # Machinomy contracts [![Build Status][travis-img]][travis] [![Coverage Status][coveralls-img]][coveralls]

Machinomy contracts is a TypeScript interface for Ethereum contracts managed by [Truffle](https://github.com/trufflesuite/truffle) used by [Machinomy](https://github.com/machinomy/machinomy).
Machinomy contracts is a TypeScript interface for Ethereum contracts managed by [Truffle](https://github.com/trufflesuite/truffle) used by [Machinomy](https://github.com/machinomy/machinomy/tree/master/packages/machinomy).
## Install
```
$ yarn add @machinomy/contracts
```
:exclamation:
Please, pay attention, this package is the part of [Machinomy Lerna Monorepo](https://github.com/machinomy/machinomy)
and it's intended to use with other monorepo's packages.
## Workflow
Use [ganache-cli](https://github.com/trufflesuite/ganache-cli) for fast development. Start it:
```
$ ganache-cli
```
:no_entry: You **should not** git clone this repository alone
Then deploy contracts to the tesrpc network:
:white_check_mark: You **should** git clone the main repository via
```
$ yarn truffle:migrate
git clone https://github.com/machinomy/machinomy.git
or
git clone git@github.com:machinomy/machinomy.git
```
Truffle generates json files by default. You need to compile the json files to ts files. Run:
```
$ yarn build
```
Now package is ready to use by Machinony.
## Deployment
To deploy the package to the Ropsten network you need to run local geth instance and then run commands:
```
$ yarn truffle:migrate --network ropsten
$ yarn build
```
**For documentation, usage and contributing please see [Machinomy Monorepo](https://github.com/machinomy/machinomy).**
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