Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
allan-almeida-imtbl committed Sep 16, 2024
1 parent 112fabb commit 387291e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ COLLECTION_ADDRESS=0xCOLLECTION_ADDRESS
IMMUTABLE_API_KEY=IMMUTABLE_API_KEY
```

| Environment variable | Description |
| --------------------- | ------------------------------------------------------------------------------------------------- |
| `MULTICALLER_ADDRESS` | The address of the Multicaller contract to perform the crafting transcation. |
| `MULTICALLER_NAME` | The name of the Multicaller contract to perform the crafting transcation. |
| `MULTICALLER_VERSION` | The version of the Multicaller contract to perform the crafting transcation. |
| `COLLECTION_ADDRESS` | The address of the deployed token contract used in crafting recipe. |
| `IMMUTABLE_API_KEY` | The organisation API key required for request authentication. Can be exported from Immutable Hub. |

Then, run the following command to start the server:

```bash
Expand Down Expand Up @@ -87,6 +95,6 @@ The client will start on `http://localhost:3001`.
Open your browser and navigate to `http://localhost:3001` to see the client in action. You can interact with the client to craft items and see the server generate signatures.

1. Login with Passport
2. Click on the `Execute` on `Mint wood` recipe to receive 10 wood
2. Click on the `Execute` on `Mint wood` recipe to receive 10 wood
3. Click on the `Execute` on `Mint metal` recipe to receive 2 metal
4. Click on the `Execute` on `Craft spear` recipe to craft 1 spear using 10 wood and 2 metal
4. Click on the `Execute` on `Craft spear` recipe to craft 1 spear using 10 wood and 2 metal

0 comments on commit 387291e

Please sign in to comment.