-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: initial bsc vault implementations #23
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, but can be addressed with future changes
public provider = new ethers.providers.JsonRpcProvider(Provider.Binance); | ||
} | ||
|
||
export const eth = new Ethereum(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these live within modules or services?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will be multi module, we can talk about what to do with this. i'll make an issue for these
@@ -42,4 +43,8 @@ export const MERKLE_CLAIM_BUCKET = process.env.MERKLE_CLAIM_BUCKET || 'MISSING R | |||
// third party api constants | |||
export const CURVE_API_URL = 'https://www.curve.fi/raw-stats/apys.json'; | |||
export const COINGECKO_URL = 'https://api.coingecko.com/api/v3/simple'; | |||
export const ETHERS_JSONRPC_PROVIDER = new ethers.providers.JsonRpcProvider('https://cloudflare-eth.com/'); | |||
|
|||
export enum Provider { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be moved to a config service at some point. Doesn't need to be in this PR, but just writing it down.
No description provided.