Skip to content

Latest commit

 

History

History
 
 

CryptoHamster

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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