Introduction
Understanding eUTxOs
Changelog
1.
Helios language
❱
1.1.
Comments
1.2.
Variables
1.3.
Primitive types
1.4.
Container types
1.5.
Branching
1.6.
Print, error, assert
1.7.
Functions
❱
Multiple return values
Void functions
Anonymous functions
Unused arguments
Optional arguments
Named arguments
Function values
Example: Collatz sequence
1.8.
Operators
1.9.
User-defined types
❱
Structs
Enums
Destructuring
Methods
❱
Associated functions and constants
Automatic methods
Example: Rational
1.10.
Generics
1.11.
Structure of a script
❱
Example: always_succeeds
Contract Parameters
1.12.
Modules
1.13.
Builtins
❱
Address
Any
AssetClass
Bool
ByteArray
Credential
Data
DatumHash
DCert
Duration
Int
List
Map
MintingPolicyHash
Option
OutputDatum
PubKey
PubKeyHash
Real
ScriptContext
ScriptHash
ScriptPurpose
StakingCredential
StakingHash
StakingPurpose
StakingValidatorHash
String
Time
TimeRange
Tx
TxId
TxInput
TxOutput
TxOutputId
ValidatorHash
Valuable
Value
2.
Helios API
❱
2.1.
Setup
❱
Deno
2.2.
Compiling Helios sources
2.3.
Generating datums and redeemers
2.4.
Building transactions
❱
Transaction inputs
Transaction outputs
Collateral
Explicit signers
Minting
Finalizing
Signing and submitting
2.5.
Example: PicoSwap
❱
Main script
Generating datums
Contract helper class
Creating a new sale
Canceling a sale
Buying for-sale assets
2.6.
API Reference
❱
Classes
❱
Address
AssetClass
Assets
Bip32PrivateKey
BitWriter
BlockfrostV0
ByteArray
ByteArrayData
CborData
Cip30Wallet
ConstrData
DCert
Datum
DatumHash
Ed25519PrivateKey
FuzzyTest
HInt
Hash
HashedDatum
HeliosData
IROptimizerState
IntData
KoiosV0
ListData
MapData
MintingPolicyHash
MintingRedeemer
NativeScript
NetworkEmulator
NetworkParams
NetworkSlice
Program
PubKey
PubKeyHash
Redeemer
RemoteWallet
RootPrivateKey
RuntimeError
ScriptHash
Signature
SimpleWallet
Site
Source
SpendingRedeemer
StakeAddress
StakingValidatorHash
Tx
TxBody
TxChain
TxId
TxInput
TxMetadata
TxOutput
TxOutputId
TxRefInput
TxWitnesses
UTxO
UplcBool
UplcBuiltin
UplcByteArray
UplcCall
UplcConst
UplcData
UplcDataValue
UplcDelay
UplcError
UplcForce
UplcInt
UplcLambda
UplcList
UplcPair
UplcProgram
UplcString
UplcTerm
UplcType
UplcUnit
UplcValueImpl
UplcVariable
UserError
ValidatorHash
Value
WalletHelper
Functions
Interfaces
❱
Network
PrivateKey
UplcValue
Wallet
Namespaces
❱
Cbor
CoinSelection
Crypto
Ed25519
config
Types
Variables
3.
Helios CLI
❱
3.1.
Setup
❱
Install helios-cli
Setup cardano-node
Wallet setup
3.2.
Using helios-cli
3.3.
Example: Always succeeds
3.4.
Example: Time lock
4.
Further reading
❱
4.1.
Integrations
❱
Different versions of Helios
VSCode
Webpack
4.2.
Exploits
4.3.
Intermediate representation
❱
Simplification
4.4.
Minting native assets
❱
Signature based minting
Unique minting
4.5.
Vesting contract
4.6.
English auction
4.7.
Oracle pools
4.8.
dApp recommendations
4.9.
Tx finalization
Light
Rust
Coal
Navy
Ayu
Helios
Further reading
/
Integrations
Different versions of Helios for on-chain vs. off-chain
VSCode plugin
Webpack loader