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.

mine_asteria

Diagram

mine_asteriamine_amountpilot_nameplayership_fuelship_namesince_slot player player pilot asteria ship output 3 output 1 output 2

Parameters

mine_amountInt
pilot_nameBytes
playerAddress
ship_fuelInt
ship_nameBytes
since_slotInt

Inputs

asteriascript
shipscript
pilotplayerwallet

Outputs

yesno
yesno
playernono

move_ship

Diagram

move_shiplast_move_timestampp_delta_xp_delta_ypilot_nameplayerrequired_fuelship_namesince_slotuntil_slot player player pilot ship output 2 output 1

Parameters

last_move_timestampInt
p_delta_xInt
p_delta_yInt
pilot_nameBytes
playerAddress
required_fuelInt
ship_nameBytes
since_slotInt
until_slotInt

Inputs

shipscript
pilotplayerwallet

Outputs

yesno
playernono

gather_token

Diagram

gather_tokenfuel_amountpellet_refpilot_nameplayership_namesince_slottoken_amounttoken_nametoken_policy_hash player player pilot pellet ship output 3 output 1 output 2

Parameters

fuel_amountInt
pellet_refUtxoRef
pilot_nameBytes
playerAddress
ship_nameBytes
since_slotInt
token_amountInt
token_nameBytes
token_policy_hashBytes

Inputs

pelletscript
shipscript
pilotplayerwallet

Outputs

yesno
yesno
playernono

create_ship

Diagram

create_shiplast_move_timestampp_pos_xp_pos_ypilot_nameplayership_nametip_slot player player gas asteria output 1 output 4 output 2 output 3

Parameters

last_move_timestampInt
p_pos_xInt
p_pos_yInt
pilot_nameBytes
playerAddress
ship_nameBytes
tip_slotInt

Inputs

gasplayerwallet
asteriascript

Outputs

playernono
yesno
yesno
playernono

quit_game

Diagram

quit_gamepilot_nameplayership_fuelship_namesince_slot player player pilot ship output 2 output 1

Parameters

pilot_nameBytes
playerAddress
ship_fuelInt
ship_nameBytes
since_slotInt

Inputs

shipscript
pilotplayerwallet

Outputs

yesno
playernono

gather_fuel

Diagram

gather_fuelp_amountpellet_refpilot_nameplayership_namesince_slot player player pilot pellet ship output 3 output 1 output 2

Parameters

p_amountInt
pellet_refUtxoRef
pilot_nameBytes
playerAddress
ship_nameBytes
since_slotInt

Inputs

pelletscript
shipscript
pilotplayerwallet

Outputs

yesno
yesno
playernono

Profiles

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

Back to all Protocols