Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/_deploy-owen-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- name: "Install dependencies with dnf"
run: dnf install -y gcc gcc-c++ glibc-devel make python3-pip openssl openssl-devel tar gzip git nasm

- name: Install Node.js 20
- name: Install Node.js 22
run: |
curl -fsSL https://rpm.nodesource.com/setup_20.x | bash -
curl -fsSL https://rpm.nodesource.com/setup_22.x | bash -
dnf install -y nodejs

- name: "Install cargo-lambda"
Expand Down
16 changes: 10 additions & 6 deletions owen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@ You can currenlty use OWEN to send DDEX packages (that include `.xml` files) as
## Steps to run OWEN on Docker (recommended approach)

Copy the sample of the enviorment file and edit accordigly

```bash
cp .env.sample .env
```

Build container

```bash
docker build --no-cache -t owen .
```

Run container

```bash
docker run
docker run
--privileged \
--env-file .env \
-it \
Expand All @@ -44,7 +47,6 @@ docker run

You only need to run it with under the tab `priviliged` if you plan to mount an S3 AWS bucket in OWEN.


## Steps to install OWEN on a clean Debian system

1. Install dependencies:
Expand All @@ -61,6 +63,7 @@ curl -L https://foundry.paradigm.xyz | bash
source $HOME/.bashrc
foundryup
```

4. Clone the repo with its submodules and enter its folder

```
Expand All @@ -76,6 +79,7 @@ rzup install
```

6. Compile contracts with

```
cd contracts
npm install hardhat
Expand Down Expand Up @@ -152,6 +156,7 @@ TransactionReceipt { inner: Eip4844(ReceiptWithBloom { receipt: Receipt { status
# HOW TO USE OWEN WITH LOCAL TESTNET

### TL;DR

Run `make local-up` in the root of this repo.

### 1. Install and run kurtosis testnet:
Expand Down Expand Up @@ -241,14 +246,13 @@ kurtosis clean
docker compose -f ./docker/run-local.yml down
```


# HOW TO RUN OWEN AS AL LAMBDA LAYER ON AWS

1. Clone this repository with its submodules `git clone -recurse-submodules https://github.com/originalworks/protocol-core`
2. Make bundle of owen by running `/owen/bundle.sh` that will generate a file named `owen.zip`.
3. Log into AWS Console, and go to Lambda -> layers -> owen:
![alt text](image.png)
![alt text](image.png)
4. Click on Create version:
![alt text](image-2.png)
![alt text](image-2.png)
5. Upload the newley generated file`owen.zip
![alt text](image-1.png)
![alt text](image-1.png)
Loading