Skip to content
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

Merged
merged 4 commits into from
Mar 9, 2021
Merged

feature: initial bsc vault implementations #23

merged 4 commits into from
Mar 9, 2021

Conversation

okjintao
Copy link
Contributor

@okjintao okjintao commented Mar 9, 2021

No description provided.

@okjintao okjintao requested a review from ethkaneki March 9, 2021 19:48
@ethkaneki ethkaneki marked this pull request as ready for review March 9, 2021 19:50
Copy link
Contributor

@ethkaneki ethkaneki left a 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();
Copy link
Contributor

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?

Copy link
Contributor Author

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 {
Copy link
Contributor

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.

This was referenced Mar 9, 2021
@okjintao okjintao merged commit 7de8a02 into staging Mar 9, 2021
@okjintao okjintao deleted the bsc-vault branch March 9, 2021 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants