Skip to main content

What is a segment?

Segments function much like folders or directories that you're familiar with on a computer. Just as folders on your computer allow you to organize files and documents into manageable groups, segments in Layer4 serve a similar purpose for your digital data, particularly your logs and tokens.

These segments are instrumental because they enable you to sort and categorize your information in a way that's clear and easy to navigate, but they do this off-chain. This means that the organization and sorting of this data happen outside the blockchain network. By using segments, you can create a structured, easy-to-understand system for managing your digital assets, without cluttering or complicating the blockchain itself.

This is especially beneficial for keeping your Layer4 environment tidy and efficient. For example, you might use different segments to separate logs of various projects, categorize tokens based on their use or function, or organize data according to different periods or teams. It's like having a neatly arranged digital filing cabinet where everything is where it should be, not on the blockchain, but in your personalized system within the Layer4 app.