Skip to content

Commit

Permalink
Use ton keeper test
Browse files Browse the repository at this point in the history
  • Loading branch information
y3fers0n committed Oct 7, 2024
1 parent 9c42000 commit 92d386a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/ios-web3-provider/swift/TrustWeb3Provider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public struct TrustWeb3Provider {
platform: 'iphone',
// TODO: Change to trust
appName: 'OpenMask',
appName: 'tonkeeper',
appVersion: "\(config.appVersion)",
maxProtocolVersion: 2,
features: [
Expand All @@ -147,7 +147,7 @@ public struct TrustWeb3Provider {
},
walletInfo: {
// TODO: Change to trust
name: 'OpenMask',
name: 'tonkeeper',
image: 'https://assets-cdn.trustwallet.com/dapps/trust.logo.png',
about_url: 'https://trustwallet.com/about-us',
},
Expand All @@ -163,7 +163,7 @@ public struct TrustWeb3Provider {
}));
// TODO: remove after updating to trust
window.openmask = { tonconnect: tonBridge, provider: ton };
window.tonkeeper = { tonconnect: tonBridge, provider: ton };
// Custom methods
ethereum.emitChainChanged = (chainId) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/ton/MobileAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class MobileAdapter {

const { nonce, hash } = JSON.parse(res);

return method === 'ton_sendTransaction' ? nonce : { boc: hash };
return method === 'ton_sendTransaction' ? nonce : hash;
}

case 'ton_requestAccounts': {
Expand Down

0 comments on commit 92d386a

Please sign in to comment.