Skip to content

Commit

Permalink
feat: regist tonconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
huanxiangspace committed Aug 23, 2024
1 parent c5d67d6 commit 311d409
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function injectWeb3Provider(): unknown {
bridge,
});

const ton = new ProviderTon({
const tonconnect = new ProviderTon({
bridge,
});

Expand Down Expand Up @@ -148,7 +148,7 @@ function injectWeb3Provider(): unknown {
tron,
sollet: null,
sui,
ton,
tonconnect,
cardano,
cosmos,
scdo,
Expand Down Expand Up @@ -196,7 +196,9 @@ function injectWeb3Provider(): unknown {
defineWindowProperty('conflux', conflux);
defineWindowProperty('tronLink', tron);
defineWindowProperty('suiWallet', sui);
defineWindowProperty('ton', ton);
defineWindowProperty('tonkeeper', {
tonconnect,
});
defineWindowProperty('unisat', btc);
defineWindowProperty('scdo', scdo);
defineWindowProperty('algorand', algorand);
Expand Down

0 comments on commit 311d409

Please sign in to comment.