Skip to content
Open
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
1 change: 1 addition & 0 deletions smart-storage-unit/packages/contracts/.envsample
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ CHAIN_ID=31337 #Local Chain ID
SSU_ID=263171114538654274438749619211973208698572458800881337194040309134791495280

# Retrieve the item type ID's using https://world-api-stillness.live.tech.evefrontier.com/v2/types and search for the item name.
# NOTE: These are the short IDs and not long Smart Object ID's anymore. If you are importing the ID from V1, please fetch the Type ID in the above link first.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add the reason why we did this change and how its useful for the builders ?

ITEM_IN_TYPE_ID=12345
ITEM_OUT_TYPE_ID=77800

Expand Down
4 changes: 3 additions & 1 deletion smart-storage-unit/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ For Stillness, the Smart Storage Unit ID (SSU ID) is available once you have dep

To retrieve the Item ID's you can use https://world-api-stillness.live.tech.evefrontier.com/v2/types and then search for the item name.

You can use the "smartItemId" as the Item ID.
You will need to use the key number / Type ID for example with Salt that would be <strong>"83839"</strong>

**Example Response:**

Expand All @@ -274,6 +274,8 @@ You can use the "smartItemId" as the Item ID.
}
```

> [!IMPORTANT]
> This has changed from V1, as the Builder Examples used the Smart Object ID whereas V2 uses the Type ID for the .env. If you have a Smart Object ID from V1 you want to use, you will need to fetch the Type ID for it by searching for the item in the World API.

Configure the Item ID's in the .env file.

Expand Down