Cosmos GoZ

Tamagotchi
Zone

The Tamagotchi is a handheld digital pet that was created in Japan by Akihiro Yokoi of WiZ and Aki Maita of Bandai

Feed
Clean
Play

Latest Tamagotchis

Here are all the Tamagotchis that have been active recently. Click on a Tamagotchi to check it out!

Instructions

Look at all these cute Tamagotchis! Usually, they live happily in the tamagotchi Cosmos custom zone. However, all of their food, toys and cleaning supplies have gotten trapped in another Cosmos zone: tamagotchi-resources. Your job is to relay resources to your Tamagotchi so they can live happily ever after. So request some tokens on both chains and start playing!

01Instructions
Make sure you have the Cosmos IBC relayer installed. Follow the instructions here. And run this command to init config folder
Copied
rly cfg init
02Instructions
Import both of our chains into your relayer configuration. You can find the two json files you’ll need here and here. Use these commands to import them:
Copied
rly ch add -f tamagotchi.json
Copied
rly lite init tamagotchi -f
Copied
rly ch add -f tamagotchi-resources.json
Copied
rly lite init tamagotchi-resources -f
03Instructions
Add your key to the tamagotchi chain. Please write down the address generated by this command:
Copied
rly keys add tamagotchi main
04Instructions
Add your key to the tamagotchi-resource chain:
Copied
rly keys add tamagotchi-resources main
05Instructions
Request tokens on both chains from our faucets:
Copied
rly testnets request tamagotchi --url http://tamagotchi.cosmos.fish:8001
Copied
rly testnets request tamagotchi-resources
06Instructions
Generate and link a path between the two chains:
Copied
rly paths gen tamagotchi transfer tamagotchi-resources transfer tamagopath -f
Copied
rly tx link tamagopath
07Instructions
You’re all set! To keep your Tamagotchi alive and thriving, you need to take good care of it. This is done by sending resource tokens to your address in the Tamagotchi zone. You can transfer your first token using this command:
Copied
rly tx transfer tamagotchi-resources tamagotchi 1feed true YOUR_TAMAGOTCHI_ADDRES
08Instructions
There are different tokens for different situations. You’ll have to figure out how they work for yourself.
09Instructions
Have fun, and please take good care of your Tamagotchi!

FAQ

What is Cosmos and what is a zone?
The Cosmos Network is a decentralized network of independent, scalable, and interoperable blockchains. Each of these independent blockchains is called a zone.
What is IBC?
IBC stands for Inter-Blockchain Communication. IBC is a reliable, ordered, and authenticated protocol for relaying messages between independent blockchains.
What is GoZ?
GoZ stands for Game of Zones. GoZ is a technical competition made up of a series of adversarial testnet challenges designed to prepare the Cosmos ecosystem for the upcoming launch of IBC.
Who is stakefish?
We are the leading staking service provider for blockchain projects. Cosmos is one of our favorite projects we support.
What is a Tamagotchi?
The Tamagotchi is a handheld digital pet that was created in Japan by Akihiro Yokoi of WiZ and Aki Maita of Bandai. The core of a Tamagotchi is a keychain-sized virtual pet simulation game.
Why did you build this?
This is a set of custom Cosmos zones designed to simulate a Tamagotchi game. It’s also a great tutorial for anyone who is interested in trying out Cosmos blockchains and IBC directly. Each of the two zones, tamagotchi and tamagotchi-resources, is an independent blockchain. The transfer of tokens between the two chains is achieved using IBC. By playing this game, you are also learning how to use an IBC relayer!
What can I do with this project?
You can send tokens from one zone to another. Your Tamagotchis will react differently depending on the type of token you send.
How do I start the game?
You can start the game by sending a token to any address in the tamagotchi zone. Once your tokens have been transferred, you should see your address show up on this site momentarily. Click on your address in the Latest Tamagotchis list to check out your new Tamagotchi!