citycoins / ui

Basic UI components for interacting with the CityCoin contract. Requires Stacks Wallet for Web.
https://minecitycoins.com
GNU General Public License v3.0
28 stars 13 forks source link

Add v1 to v2 conversion on full profile #134

Closed whoabuddy closed 2 years ago

whoabuddy commented 2 years ago

This PR adds a button on the profile tab that makes a contract call to convert V1 to V2 tokens when detected.

It also updates the profile to not display a token if it has no balance, and moves any repeated/mapped elements into individual components.

whoabuddy commented 2 years ago

Locally verified working through this test tx: https://explorer.stacks.co/txid/0xdd2d822ab337b66105e3a59c8a9697205316047414d6f18fec08c8d00ab5c94f?chain=mainnet