- The idea is to launch 1 pack per day (contains 11 cards), once the day has passed it cannot be minted. - It is based on the ERC1155 standard, so cards can be transferred with other users. + You can claim a pack per day (contains 5 cards), once the day has passed it cannot be minted. + It is based on the ERC1155 standard, so cards can be transferred with other users (one trade per day is allowed).
In principle the base set contains 102 cards, but in this case we will remove the trainer and energy cards (a total of 69 cards remain). - Of which can be repeated.
-This frontend is an adaptation made by me of the work of
@simeydotme |
- Simon Goellner
-
Backend in Cairo by @dub_zn +
+ This frontend is an adaptation of @simeydotme | + Simon Goellner work. +
Backend in Cairo by @dub_zn
{#if !walletModalVisible}Cards obtained today
+-
-
- {#if isLoading}
- Loading cards..
+
+
+ {#if isLoadingTradeData}
+
+ Loading trade stats..
+
{:else}
- Minted cards {mintedCards.length}/69
+
+ Daily trades status
+
{/if}
-
-
- {#if isConnected}
-
-
-
- {address}
-
-
- {:else}
-
- {/if}
-
+
+
+ {#if !isLoadingTradeData && userTradeData.dailySend == 0}
+ {#if dailySendCardTxStatus != undefined && (dailySendCardTxStatus.status == "RECEIVED" || dailySendCardTxStatus.status == "PENDING")}
+
+ Transaction in progress..
+
+ {:else}
+ Can send a card
+ {/if}
+ {:else}
+ Already send a card
+ {/if}
+
+ {#if !isLoadingTradeData && userTradeData.dailyReceive == 0}
+ Can receive a card
+ {:else}
+ Already receive a card
+
+ {/if}
+
+ {#if !isLoading && !isLoadingTradeData && userTradeData.dailySend == 0 }
+ Send a card
+
+
+
+
+
+ {/if}
+
+ Loading trade stats.. +
{:else} - Minted cards {mintedCards.length}/69 ++ Daily trades status +
{/if} - - - {#if isConnected} - --
- {address} -
- - {:else} - - {/if} -