Skip to content

Commit

Permalink
add groove rpc for fantom (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns authored Jul 16, 2024
1 parent 916244b commit 63a6db6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export const schema = {
optional: true,
type: String,
},
GROVE_CITY_FANTOM: {
optional: true,
type: String,
},
INFURA_API_KEY: {
optional: true,
type: String,
Expand Down
5 changes: 4 additions & 1 deletion config/fantom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export default <NetworkData>{
'0xb7c2ddb1ebac1056231ef22c1b0a13988537a274', // new tarot
],
},
rpcUrl: (env.DEPLOYMENT_ENV as DeploymentEnv) === 'main' ? `https://rpc.ankr.com/fantom` : `https://rpc.ftm.tools`,
rpcUrl:
(env.DEPLOYMENT_ENV as DeploymentEnv) === 'main'
? `https://fantom-mainnet.rpc.grove.city/v1/${env.GROVE_CITY_FANTOM}`
: `https://rpc.ankr.com/fantom`,
rpcMaxBlockRange: 1000,
protocolToken: 'beets',
beets: {
Expand Down

0 comments on commit 63a6db6

Please sign in to comment.