Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tynes/eip1153
https://github.com/tynes/eip1153
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tynes/eip1153
- Owner: tynes
- Created: 2022-03-02T02:56:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-27T03:37:45.000Z (over 2 years ago)
- Last Synced: 2023-03-04T04:19:51.907Z (almost 2 years ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eip 1153
Instructions on how to spin up your own ephemeral EIP 1153
enabled geth node. Compile contracts with a solc fork that
supports yul functions for `TSTORE` and `TLOAD` so that
its easy for developers to test out the possibilities.```bash
$ git submodule init
$ git submodule update
```To build and start geth:
```bash
$ cd go-ethereum
$ make geth
$ ./build/bin/geth \
--http \
--http.api web3,eth,debug,personal,net \
--vmdebug \
--dev
```To compile a file:
```bash
$ cd solidity
$ CI=x ./scripts/build.sh
$ ./build/solc/solc --bin TestYul.sol
```A helper script is provided to compile and deploy
a file. Note that this script will only work for
simple, single contract files. More complex deployments
will need to link the provided `solc` to their deployment
setup.Depends on `node` and `ethers`. Pass the path to
a file as the first argument to `deploy.sh`
to deploy to the local `geth` node.```bash
$ npm installl
$ ./deploy.sh Test.sol
```Test that it works using `seth`. The contract
address is printed in the output of `deploy.sh`.```bash
$ seth call 'bar(uint256)(uint256)' 100
```