kyscott18 / allegedly

A fast Solidity compiler for EVM simulations, written in TypeScript
MIT License
62 stars 1 forks source link

Allegedly

A fast Solidity compiler for EVM simulations, written in TypeScript.

Overview

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.

Supported Language Features