dvote-smart-contracts
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -5,3 +5,3 @@ { | ||
"name": "dvote-smart-contracts", | ||
"version": "0.1.0" | ||
"version": "0.2.0" | ||
} |
# dvote-smart-contracts | ||
Solidity smart contracts implementing the voting functionality | ||
## Developing | ||
Make sure you `npm install`, as all dependencies (including but not limited to Truffle and Ganache-cli) will be installed locally. | ||
This package was deprecated long ago. | ||
To run Truffle or Ganache-cli locally you can either run them manually: | ||
`./node_modules/ganache-cli/cli.js` | ||
`./node_modules/truffle/build/cli.bundled.js` | ||
or using a shortcut for some common tasks | ||
`npm run ganache` | ||
`npm test` | ||
`npm run build` | ||
`npm run migrate` | ||
Please, use `dvote-solidity` instead. | ||
## Testing | ||
We can run stuff in a remote network (as the testing one) with: | ||
`./node_modules/truffle/build/cli.bundled.js test --network test` | ||
or using a stupid-named shortcut | ||
`npm run testintest` | ||
### pragma solidity ^0.5.0; | ||
`0.5.0` version of Solc was recently released. This version includes a lot of improvements over the previous release, but it has [breaking changes](https://solidity.readthedocs.io/en/latest/050-breaking-changes.html). |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
293
1
7