A fast Solidity compiler for EVM simulations, written in TypeScript.
import { sol } from "allegedly";
const depositContract = "0x...";
const { abi, code } = sol(`
contract GetBalance {
function run() external returns (uint256) {
return address(${depositContract}).balance;
}
}
`);
solc
This project is not meant to replace solc
. Instead, it is smaller, faster, more modular alternative, that produces less efficient and less secure bytecode.