Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aunyks/smart-contract-fuzzing
https://github.com/aunyks/smart-contract-fuzzing
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/aunyks/smart-contract-fuzzing
- Owner: aunyks
- Created: 2020-05-11T03:20:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T13:34:34.000Z (over 3 years ago)
- Last Synced: 2024-04-23T14:10:58.939Z (9 months ago)
- Language: TypeScript
- Size: 51.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Running a Solidity smart contract using ethereumjs-vm
This directory contains an example on how to run smart contracts written in Solidity.
The example does these things:
1. Compiles the contract `contracts/Greeter.sol`
1. Instantiates a VM
1. Creates an account
1. Funds the account with 1 ETH
1. Deploys the Greeter contract
1. Calls a constant function
1. Sends a transaction to the contract, modifying its state
1. Calls a constant function to verify the state change## Installation
1. Run `npm install` in the root of this project
1. Run `npm install` in this directory## Running the example
1. Run `npm run build:dist` in the root of this project
1. Run `npm run example` in this directory