Skip to content

Commit 6ef8c73

Browse files
trevormilclaude
andcommitted
Hide widgets tab and update HD paths from 118 to 60 for EVM support
- Disabled widget tab in sidebar - Changed default coin type from 118 to 60 - Updated HD path defaults to m/44/60/0'/0/0 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0ec0b27 commit 6ef8c73

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/modules/[chain]/widget/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const hdPath = computed(() => {
6666
<route>
6767
{
6868
meta: {
69-
i18n: 'widget',
69+
// i18n: 'widget' - disabled: widget tab hidden
7070
order: 300
7171
}
7272
}

src/modules/wallet/accounts.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const dashboard = useDashboard();
1313
const chainStore = useBlockchain();
1414
const format = useFormatter();
1515
const sourceAddress = ref(''); //
16-
const sourceHdPath = ref("m/44/118/0'/0/0"); //
16+
const sourceHdPath = ref("m/44/60/0'/0/0"); //
1717
const selectedSource = ref({} as LocalKey); //
1818
const importStep = ref('step1');
1919
@@ -382,7 +382,7 @@ async function loadBalances(chainName: string, endpoint: string, address: string
382382
placeholder="Input an address"
383383
@change="importStep = 'step2'"
384384
/>
385-
<input v-model="sourceHdPath" class="input input-bordered w-full input-sm" placeholder="m/44/118/0'/0/0" />
385+
<input v-model="sourceHdPath" class="input input-bordered w-full input-sm" placeholder="m/44/60/0'/0/0" />
386386
</label>
387387
</div>
388388
<div

src/stores/useBlockchain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const useBlockchain = defineStore('blockchain', {
5252
return this.current?.logo || '';
5353
},
5454
defaultHDPath(): string {
55-
const cointype = this.current?.coinType || '118';
55+
const cointype = this.current?.coinType || '60';
5656
return `m/44'/${cointype}/0'/0/0`;
5757
},
5858
dashboard() {

0 commit comments

Comments
 (0)