Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haraldh/tee-era-fee-withdrawer
https://github.com/haraldh/tee-era-fee-withdrawer
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/haraldh/tee-era-fee-withdrawer
- Owner: haraldh
- License: mit
- Created: 2024-01-15T12:47:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-08T12:09:59.000Z (12 months ago)
- Last Synced: 2024-12-02T09:15:47.057Z (2 months ago)
- Language: Nix
- Size: 58.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# tee-era-fee-withdrawer
This is a reproducible build of https://github.com/matter-labs/era-fee-withdrawer
with the gramine runtime to be run on SGX in Azure.## Reproduce the NixOS build
```bash
$ docker run --privileged -it -v .:/mnt nixos/nix:2.19.2
```
Inside the container:
```bash
$ echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
$ echo 'sandbox = true' >> /etc/nix/nix.conf
$ cd /mnt
$ nix build
$ cp result era-fee-withdrawer-azure.tar.gz
$ exit
```
## Build the Docker image
```bash
$ docker load < era-fee-withdrawer-azure.tar.gz
$ docker build --no-cache --progress=plain -t efw -f Dockerfile-azure .
```Should output something like:
```bash
[...]#9 6.572 Measurement:
#9 6.572 6ea6a97a1672e240050fe687425d96d45adf09a84fcd099976d51df11fb98fcf
[...]
```
as the github actions build does.