depreciate thegraph w/ relayer events
This commit is contained in:
parent
8d038c5869
commit
479b1e798b
3 changed files with 114 additions and 66 deletions
|
@ -60,6 +60,22 @@ export const cachedEventsLength = {
|
|||
}
|
||||
}
|
||||
|
||||
export const corsConfig = (rpcUrl) => ({
|
||||
headers: [
|
||||
{
|
||||
name: 'Access-Control-Allow-Origin',
|
||||
value: rpcUrl
|
||||
},
|
||||
{
|
||||
name: 'Access-Control-Allow-Methods',
|
||||
value: 'POST, GET, OPTIONS'
|
||||
}
|
||||
],
|
||||
withCredentials: false,
|
||||
// buffer for tor connections
|
||||
timeout: 30000
|
||||
})
|
||||
|
||||
export const PROVIDERS = {
|
||||
walletConnect: {
|
||||
name: 'WalletConnect',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue