easy-solc
v1.0.1
Published
Simple wrapper for solc.
Downloads
2
Readme
easy-solc
Simple wrapper for solc.
const TestContract = `
pragma solidity 0.5.11;
contract Test {
function hello() public view returns (uint256) {
return 55;
}
}
`
const { abi, bytecode, deployedBytecode } = await easySolc('Test', TestContract);
/* or */
const { abi, bytecode, deployedBytecode } = await easySolc({ sources: { content: TestContract } });