Skip to content

Commit

Permalink
Add private key wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
elboletaire committed Mar 5, 2024
1 parent 80dcf42 commit 297e31b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/constants/rainbow.ts
@@ -1,7 +1,7 @@
import { connectorsForWallets, Wallet, WalletList } from '@rainbow-me/rainbowkit'
import '@rainbow-me/rainbowkit/styles.css'
import { coinbaseWallet, metaMaskWallet, rainbowWallet, walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'
import { oAuthWallet } from '@vocdoni/rainbowkit-wallets'
import { oAuthWallet, privateKeyWallet } from '@vocdoni/rainbowkit-wallets'
import { configureChains, createConfig } from 'wagmi'
import {
arbitrum,
Expand Down Expand Up @@ -63,6 +63,7 @@ const featuredConnectors = () => {
rainbowWallet({ projectId, chains }),
coinbaseWallet({ chains, appName }),
walletConnectWallet({ chains, projectId }),
privateKeyWallet({ chains }),
],
}

Expand Down Expand Up @@ -99,6 +100,7 @@ const featuredConnectors = () => {
oAuthServiceProvider: 'facebook',
},
}),
privateKeyWallet({ chains }),
],
}

Expand Down
13 changes: 10 additions & 3 deletions yarn.lock
Expand Up @@ -2932,9 +2932,11 @@
protobufjs "^7.1.2"

"@vocdoni/rainbowkit-wallets@^0.2.2":
version "0.2.2"
resolved "https://registry.yarnpkg.com/@vocdoni/rainbowkit-wallets/-/rainbowkit-wallets-0.2.2.tgz#d470949b23f35f2933daecc648a53b3d3f23ef5c"
integrity sha512-mmVlkaCwrJONo95nSYSQ+GO9N+r9OVg9mX6zMQSyR7KGVkrcKkI5lEzkZXIsOx0gQv4q+tAN8nnSEYs9zNNvEg==
version "0.2.5"
resolved "https://registry.yarnpkg.com/@vocdoni/rainbowkit-wallets/-/rainbowkit-wallets-0.2.5.tgz#d114fe87b09f79ff8be4191b02d4268332346dda"
integrity sha512-vbYG3uGFT3Xo568e7nD8yt5CbUYcX6rT7o+ipXlb7gzj6j/P4ZSIgfAQZNEIGDZj5qfjJqmY4Po+nS/U3gozgA==
dependencies:
crypto-js "^4.2.0"

"@vocdoni/react-providers@~0.3.8":
version "0.3.8"
Expand Down Expand Up @@ -4068,6 +4070,11 @@ crossws@^0.1.0:
resolved "https://registry.yarnpkg.com/crossws/-/crossws-0.1.1.tgz#3a85a8140568e4828d9747a884171ea7e6a8bbe2"
integrity sha512-c9c/o7bS3OjsdpSkvexpka0JNlesBF2JU9B2V1yNsYGwRbAafxhJQ7VI9b48D5bpONz/oxbPGMzBojy9sXoQIQ==

crypto-js@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631"
integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==

css-box-model@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/css-box-model/-/css-box-model-1.2.1.tgz#59951d3b81fd6b2074a62d49444415b0d2b4d7c1"
Expand Down

3 comments on commit 297e31b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://onvote-stg.netlify.app as production
πŸš€ Deployed on https://65e70a26561780050ffffd36--onvote-stg.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.