Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lukachi committed Feb 21, 2025
2 parents ca5b424 + 3795e85 commit 9713be5
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 8 deletions.
40 changes: 37 additions & 3 deletions src/assets/predefined-builders-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@
"githubStars": 0,
"totalStaked": 0,
"rewardType": "To Be Announced",
"website": "https://docs.hemi.xyz/"
"website": "https://hemi.xyz/"
},
{
"id": "d9bc2735-4579-4f73-a0c9-f4b1afa076cb",
Expand Down Expand Up @@ -1056,7 +1056,7 @@
{
"id": "",
"name": "Katara",
"description": "",
"description": "Katara is a cutting-edge agentic workflow automation platform for DevX Teams",
"longDescription": "",
"image": "",
"localImage": "images/new_katara_icon_128x128.png",
Expand All @@ -1067,7 +1067,7 @@
"contributors": 0,
"githubStars": 0,
"totalStaked": 0,
"rewardType": "To Be Announced",
"rewardType": "Access to Agents",
"website": "https://katara.ai"
},
{
Expand Down Expand Up @@ -1103,5 +1103,39 @@
"totalStaked": 0,
"rewardType": "To Be Announced",
"website": "https://dais.global/"
},
{
"id": "",
"name": "Frostbyte",
"description": "Decentralized, local, peer-to-peer password management—your data, your control.",
"longDescription": "",
"image": "",
"localImage": "images/FrostByte.png",
"tags": [],
"githubUrl": "",
"twitterUrl": "",
"discordUrl": "",
"contributors": 0,
"githubStars": 0,
"totalStaked": 0,
"rewardType": "To Be Announced",
"website": "https://www.frostbyte.app/"
},
{
"id": "",
"name": "Unocoin",
"description": "India's Trusted Bitcoin & Crypto Trading Platform",
"longDescription": "",
"image": "",
"localImage": "images/unocoin-logo-vector.png",
"tags": [],
"githubUrl": "",
"twitterUrl": "",
"discordUrl": "",
"contributors": 0,
"githubStars": 0,
"totalStaked": 0,
"rewardType": "To Be Announced",
"website": "https://unocoin.com/in/"
}
]
22 changes: 17 additions & 5 deletions src/composables/use-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ export const useProvider = (): IUseProvider => {
) as [AppKitNetwork, ...AppKitNetwork[]],
metadata: config.metadata,
projectId: config.WALLET_CONNECT_PROJECT_ID,
featuredWalletIds: [
'225affb176778569276e484e1b92637ad061b01e13a048b35a9d280c3b58970f',
],
features: {
analytics: true,
email: false,
Expand All @@ -157,13 +160,22 @@ export const useProvider = (): IUseProvider => {
}
} | null

_providerReactiveState.selectedAddress = provider?.selectedAddress || ''
const chainId = _web3Modal?.getCaipNetworkId() || provider?.chainId || ''

_providerReactiveState.selectedAddress =
provider?.selectedAddress ||
_web3Modal?.getAddress('eip155') ||
_web3Modal?.getAddress('solana') ||
_web3Modal?.getAddress('polkadot') ||
_web3Modal?.getAddress('bip122') ||
''

_providerReactiveState.rawProvider = provider
_providerReactiveState.chainId = provider?.chainId
? String(Number(provider.chainId))
: ''

_providerReactiveState.chainId = chainId ? String(Number(chainId)) : ''

_providerReactiveState.isConnected = Boolean(
provider?._state?.isConnected,
provider?._state?.isConnected || _web3Modal?.getIsConnectedState(),
)
})
}
Expand Down
Binary file added static/images/FrostByte.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/unocoin-logo-vector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9713be5

Please sign in to comment.