<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script lang="ts">
import Vue from 'vue';
import { getCurrentBTYAddress } from '@/utils/bridge'  // 币钱包环境
import { test } from '@/constants/test'  // 本地测试
export default Vue.extend({
  name: 'Home',
  async mounted() {
    // this.$store.commit('app/SET_ADDRESS', test.addr)
    getCurrentBTYAddress('',(res: any) => {
      console.log('res', res)
      this.$store.commit('app/SET_ADDRESS', res)
    })
  },
});
</script>
