About Container
Explore the technical features and usage of WARREN V2 Container.
Container is the core feature of WARREN V2, where a single NFT acts as a "folder" holding multiple files.
In V1, it was 1 NFT = 1 file, but in V2, 1 NFT = up to 256 files.
Container #1:
├── /index.html
├── /about.html
├── /css/style.css
└── /images/logo.svg
Gateway URL Structure
Container files are accessed through the Gateway:
/gateway/5/index.html
/gateway/5/about.html
/gateway/5/css/style.css
* 5 is the Container Token ID
Relative Path Examples
From this page (about.html), referencing other files:
Go to main:
./index.html
Load CSS:
./css/style.css
Use relative paths to return to the main page:
← Back to Main| Contract | WarrenContainer.sol |
| Site Type | 1 (Site Container) |
| Default File | /index.html |
| Max Files | 256 |