Logo
  • cookbook

    Library

  • tutorials

    Tutorials

  • community

    Community

GitHub

Introducing

Seahorse Cookbook

Explore the Magic of Seahorse with a Comprehensive Program
Library and Tutorials

game.py
@instruction
def init_player(owner: Signer, player: Empty[Player]):
player = player.init(
payer = owner,
seeds = ['player-account', owner]
)
player.owner = owner.key()
player.health = 100
player.gold = 0
The Cookbook

Magic

begins here