Skip to content

Core concepts chapter #10

@arobsn

Description

@arobsn

The idea behind this chapter is to give the reader some initial concepts so that they can better follow the documentation and so that the documentation doesn't have to be repetitive about concepts.

Chapter Structure

Introduction

  • Present the overall idea of the "Core concepts" chapter

What's a box?

  • Describe an Ergo Box in both conceptual and practical terms

Anatomy of a box

  • Describe each property of a box (value, ergoTree, assets, and so on)
  • Explain why value and assets#amount should be handled as integer rather than decimals.
  • Briefly describe in a tip box how to use decimalize() and undecimalize() functions from @fleet-sdk/common package to represent box integers as decimals.

What's a transaction?

  • Describe an Ergo Transaction in both conceptual and practical terms

Anatomy of a transaction

  • Describe each property of a transaction (inputs, dataInputs, outputs, and transacionId)

Box lifecycle

  • Describe how a box is created and destroyed by a transaction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions