Skip to content

Commit

Permalink
Complete capsule integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamj1232 committed Jan 23, 2024
1 parent b6634df commit f72933e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.13.1
node-version: 16.18.1
- run: yarn w3o-latest-prod
- run: yarn build
env:
Expand Down
10 changes: 9 additions & 1 deletion src/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ import bloctoModule from '@web3-onboard/blocto'
import bitgetModule from '@web3-onboard/bitget'
import metamaskModule from '@web3-onboard/metamask'
import arcanaAuthModule from '@web3-onboard/arcana-auth'
import capsuleModule from '@web3-onboard/capsule'
import { Environment } from '@web3-onboard/capsule'

// Replace with your DApp's Infura ID
const INFURA_ID = 'cea9deb6467748b0b81b920b005c10c1'
Expand Down Expand Up @@ -165,6 +167,11 @@ const arcanaAuth = arcanaAuthModule({
clientID: 'xar_test_c9c3bc702eb13255c58dab0e74cfa859711c13cb'
})

const capsule = capsuleModule({
environment: Environment.DEVELOPMENT,
apiKey: '992bbd9146d5de8ad0419f141d9a7ca7'
})

export const initWeb3Onboard = init({
connect: {
autoConnectAllPreviousWallet: true
Expand Down Expand Up @@ -201,7 +208,8 @@ export const initWeb3Onboard = init({
cedeStore,
venly,
blocto,
arcanaAuth
arcanaAuth,
capsule
],
chains: [
{
Expand Down

0 comments on commit f72933e

Please sign in to comment.