diff --git a/chains/mainnet/humans.json b/chains/mainnet/humans.json new file mode 100644 index 00000000..6f28cea0 --- /dev/null +++ b/chains/mainnet/humans.json @@ -0,0 +1,19 @@ +{ + "chain_name": "humans", + "api":["https://api.humans-mainnet.stake-take.com"], + "rpc":["https://rpc.humans-mainnet.stake-take.com"], + "snapshot_provider": "", + "sdk_version": "0.46.3", + "coin_type": 60, + "min_tx_fee": "5000", + "addr_prefix": "human", + "logo": "/logos/humans.jpg", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aheart", + "symbol": "HEART", + "exponent": 18, + "coingecko_id": "humans-ai", + "logo": "/logos/humans.jpg" + }] +} diff --git a/chains/testnet/humans.json b/chains/testnet/humans.json new file mode 100644 index 00000000..b23d3a4b --- /dev/null +++ b/chains/testnet/humans.json @@ -0,0 +1,19 @@ +{ + "chain_name": "humans", + "api":["https://api.humans.stake-take.com"], + "rpc":["https://rpc.humans.stake-take.com"], + "snapshot_provider": "", + "sdk_version": "0.46.3", + "coin_type": 60, + "min_tx_fee": "5000", + "addr_prefix": "human", + "logo": "/logos/humans.jpg", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aheart", + "symbol": "HEART", + "exponent": 18, + "coingecko_id": "humans-ai", + "logo": "/logos/humans.jpg" + }] +} diff --git a/public/logos/humans.jpg b/public/logos/humans.jpg new file mode 100644 index 00000000..13842eb4 Binary files /dev/null and b/public/logos/humans.jpg differ diff --git a/src/components/charts/DonutChart.vue b/src/components/charts/DonutChart.vue index 3907848b..83572dc2 100644 --- a/src/components/charts/DonutChart.vue +++ b/src/components/charts/DonutChart.vue @@ -10,7 +10,7 @@ const baseStore = useBaseStore(); const expenseRationChartConfig = computed(() => { const theme = baseStore.theme; - getDonutChartConfig(theme, props.labels); + getDonutChartConfig(theme, props?.labels); }); diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue index 4b11ce00..70fc1535 100644 --- a/src/layouts/components/DefaultLayout.vue +++ b/src/layouts/components/DefaultLayout.vue @@ -152,7 +152,7 @@ const showDiscord = window.location.host.search('ping.pub') > -1; :to="item?.to" v-if="item?.title && !item?.children?.length && item?.to" @click="sidebarShow = false" - class=" cursor-pointer rounded-lg px-4 flex items-center py-2 hover:bg-gray-100 dark:hover:bg-[#373f59]" + class="cursor-pointer rounded-lg px-4 flex items-center py-2 hover:bg-gray-100 dark:hover:bg-[#373f59]" > -1; import { useBaseStore, useBlockchain, useWalletStore } from '@/stores'; import { Icon } from '@iconify/vue'; -import { ref, computed, } from 'vue'; +import { ref, computed } from 'vue'; const walletStore = useWalletStore(); const chainStore = useBlockchain(); @@ -38,7 +38,7 @@ const tipMsg = computed(() => {