Skip to content

Commit

Permalink
fix: ethr-did-provider settings
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Oct 9, 2023
1 parent c95937e commit e42bbc7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/agent-explore/src/context/web3/web3Agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,12 @@ export async function createWeb3Agent({ connectors, }: {
})
didProviders[info.name + "-ethr"] = new EthrDIDProvider({
defaultKms: 'web3',
network: info.chainId,
web3Provider: info.provider
networks: [
{
chainId: '0x' + info.chainId,
provider: info.provider,
}
]
})
web3Providers[info.name] = info.provider
})
Expand Down

0 comments on commit e42bbc7

Please sign in to comment.