Package Exports
- solco
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (solco) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
solco - Solidity smart contracts utility
solco is your smart contracts companion.
Prerequisites
- NodeJS >=6.x
- MacOS/Linux
Installation
npm install -g solcoUsage
Help output:
alexc@MacBook-Pro:~/Desktop/Projects/solco$ solco --help
solco
Commands:
solco visualize <contract> Visualize contract's control flow
[aliases: viz, vz]
solco analyze <contract> Analyze a contract [aliases: an]
solco combine <contract> Combine contract dependencies in one file
[aliases: com, cb]
solco profile <contract> Profile a smart contract [aliases: prof, pr]
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
Made w/ ❤ by AlexanderC <alexander.moldova@gmail.com>
Combine contracts:
solco combine ./contracts/AwesomeToken.solTo flatten the contract for verification on Etherscan use
--verifyableoption to enableTrufflecompatibility mode.
Analyze contract:
solco analyze ./contracts/AwesomeToken.solVisualize contract:
solco visualize ./contracts/AwesomeToken.solProfile contract:
solco profile ./contracts/AwesomeToken.solEvery command have their own
--helpcontaining usage information
Debugging:
DEBUG=* solco visualize ./contracts/AwesomeToken.sol
DEBUG=Resolver solco visualize ./contracts/AwesomeToken.solMore info on
debugusage you can find here
Roadmap
- Add logo and badges
- Write tests
- Add more commands
- Add more documentation
Support development
I really love open source, however i do need your help to keep the library up to date. There are several ways to do it: open issues, submit PRs, share the library w/ community or simply-
