Skip to content

Commit

Permalink
feat: mint screen on wallet clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed May 29, 2024
1 parent d141c05 commit d468f72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Assets/Shared/Scripts/UI/MintScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,12 @@ private void ShowMintedMessage()
}
}

private void OnWalletClicked()
private async void OnWalletClicked()
{
// Get the player's wallet address to mint the fox to
string address = await GetWalletAddress();
// Show the player's tokens on the block explorer page.
Application.OpenURL($"https://explorer.testnet.immutable.com/address/{address}?tab=tokens");
}
}
}

0 comments on commit d468f72

Please sign in to comment.