Logo

asteria

UnofficialPreliminary, reverse-engineered version published by the tx3 team for testing and exploration. It is not endorsed by the original protocol authors. Do not use in mainnet. • v0.1.0

About this Protocol

On-chain competitive bot game on Cardano by TxPipe — ships, fuel, pellets, and the central Asteria prize

Parties

The participants involved in this protocol's transactions.

admin—
player—

Transactions

The transactions defined in this protocol, with their parameters, inputs, and outputs.

create_ship

Diagram

create_shiplast_move_timestampp_pos_xp_pos_ypilot_nameship_nametip_slot player player gas asteria pilot_token gas_change updated_asteria new_ship

Parameters

last_move_timestampInt—
p_pos_xInt—
p_pos_yInt—
pilot_nameBytes—
ship_nameBytes—
tip_slotInt—

Inputs

gasplayerwallet
asteria—script

Outputs

playernono
—yesno
—yesno
playernono

gather_fuel

Diagram

gather_fuelp_amountpellet_refpilot_nameship_namesince_slot player player pilot pellet ship pilot_change output 1 output 2

Parameters

p_amountInt—
pellet_refUtxoRef—
pilot_nameBytes—
ship_nameBytes—
since_slotInt—

Inputs

pellet—script
ship—script
pilotplayerwallet

Outputs

—yesno
—yesno
playernono

gather_token

Diagram

gather_tokenfuel_amountpellet_refpilot_nameship_namesince_slottoken_amounttoken_nametoken_policy_hash player player pilot pellet ship pilot_change output 1 output 2

Parameters

fuel_amountInt—
pellet_refUtxoRef—
pilot_nameBytes—
ship_nameBytes—
since_slotInt—
token_amountInt—
token_nameBytes—
token_policy_hashBytes—

Inputs

pellet—script
ship—script
pilotplayerwallet

Outputs

—yesno
—yesno
playernono

mine_asteria

Diagram

mine_asteriamine_amountpilot_nameship_fuelship_namesince_slot player player pilot asteria ship pilot_change output 1 output 2

Parameters

mine_amountInt—
pilot_nameBytes—
ship_fuelInt—
ship_nameBytes—
since_slotInt—

Inputs

asteria—script
ship—script
pilotplayerwallet

Outputs

—yesno
—yesno
playernono

move_ship

Diagram

move_shiplast_move_timestampp_delta_xp_delta_ypilot_namerequired_fuelship_namesince_slotuntil_slot player player pilot ship pilot_change output 1

Parameters

last_move_timestampInt—
p_delta_xInt—
p_delta_yInt—
pilot_nameBytes—
required_fuelInt—
ship_nameBytes—
since_slotInt—
until_slotInt—

Inputs

ship—script
pilotplayerwallet

Outputs

—yesno
playernono

quit_game

Diagram

quit_gamepilot_nameship_fuelship_namesince_slot player player pilot ship pilot_change output 1

Parameters

pilot_nameBytes—
ship_fuelInt—
ship_nameBytes—
since_slotInt—

Inputs

ship—script
pilotplayerwallet

Outputs

—yesno
playernono

Profiles

Pre-configured sets of environment and party values for different deployment targets.

Back to all Protocols