Skip to content

Crypto Hamsters example

Just a smart contract example

How it works?

You can create your own hamster, it is unique by name and dna.

Methods description

  • entrypoint create_hamster(hamster_name: string) - create a crypto hamster by passed name
  • entrypoint name_exists(name: string) - can check if hamster with that name exists
  • entrypoint get_hamster_dna(name: string) - get hamster's dna