You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
arobsn
changed the title
Basic concepts chapter
Core concepts chapter
Jul 26, 2024
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
What's a box?
Anatomy of a box
value
,ergoTree
,assets
, and so on)value
andassets#amount
should be handled as integer rather than decimals.decimalize()
andundecimalize()
functions from@fleet-sdk/common
package to represent box integers as decimals.What's a transaction?
Anatomy of a transaction
inputs
,dataInputs
,outputs
, andtransacionId
)Box lifecycle
The text was updated successfully, but these errors were encountered: