-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore added readmes for code snippets
- Loading branch information
1 parent
9c0251d
commit 0013444
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Multichain Game | ||
|
||
This example demonstrates a simple guessing game where users can guess a number between 1-6 and stake some funds for each guess. If the correct number is guessed then you win the pot! The `MultichainGameReceiver` exists on a single chain and can hold a variety of different tokens. It pays back the winner playing the game via the `MultiChainGame` contract on one of the satellite chains the game is deployed on. | ||
|
||
# Testnet | ||
On testnet this can be tested from Celo chain where you can send WETH to the Polygon Mumbai testnet to conduct the swap on the Uniswap router. | ||
|
||
## Local Test | ||
Local testing with Axelar Local Dev is WIP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Multichain Swap NFT Mint | ||
|
||
This example demonstrates how to mint an NFT on a destination chain via a message triggered from your source chain. It encodes a function signature of the `safeMint()` function and `calls` the function signature on the destination chain. | ||
|
||
|
||
## Local Test | ||
Local testing with Axelar Local Dev is WIP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Multichain Swap Example | ||
|
||
This example demonstrates how to interact with the Uniswap router to do a cross chain swap. The contract can send a gmp message and a token from one blockchain to another blockchain and that message will tell the uniswap router to swap the token that was sent for another token. | ||
|
||
# Testnet | ||
On testnet this can be tested from Celo chain where you can send WETH to the Polygon Mumbai testnet to conduct the swap on the Uniswap router. | ||
|
||
## Local Test | ||
Local testing with Axelar Local Dev is WIP. |