🏆Deploy

Using the proper meta tags in an HTML file, you can create your own inscriptions that can be picked up by the OnChain Trophy indexer.

Deploy A New Team, League, or Organization

Initial step to register your organization with the the indexer. The parent referenced in this deploy transaction must be used as the Parent Ordinal for all official inscriptions from your organization.

//deply an org
<meta 
p="onchaintrophy_v1" 
op="deploy_org" 
name="Blockchain Basketball Association" 
parent="0085ee621439b0533327b3910493511e612aa8944524bacca8e11a03cec60d72i0"
>

//deploy a team using parent defined in deploy_org
<meta 
p="onchaintrophy_v1" 
op="deploy_team" 
name="Bitcoin Bulls" 
parent="9ff02aed4911edebfe345cad449b72e2380aed341d12f3eb34a197b164f25565i0"
>
KeyDescription

p

Protocol identifier (required)

op

Operation (required) (deploy_org or deploy_league or deploy_team)

name

League Name or Identifier (required)

parent

Inscription ID of parent Ordinal (required)

Deploy A New Season

Once you have deployed your organization, you can now register the season.

//new season
<meta 
p="onchaintrophy_v1" 
op="new_season" 
name="2023" 
parent="0085ee621439b0533327b3910493511e612aa8944524bacca8e11a03cec60d72i0"
structure="playerId, playerName, team, score"
>
KeyDescription

p

Protocol identifier (required)

op

Operation (required)

name

Season Identifier (required)

parent

Inscription ID of parent Ordinal (required)

structure

Data structure for season's data

Archive Game/Results

//new game
<meta 
p="onchaintrophy_v1" 
op="game_data" 
name="Bitcoin Bulls vs Ethereum Wizards" 
data="Final score: 121-98"
>

KeyDescription

p

Protocol identifier (required)

op

Operation (required)

name

Game Identifier (unique & required)

data

Results in structure format from Season

Last updated