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

FInalize CLI_MAIN for production uses #2

Open
fedyarov opened this issue Mar 26, 2022 · 0 comments
Open

FInalize CLI_MAIN for production uses #2

fedyarov opened this issue Mar 26, 2022 · 0 comments

Comments

@fedyarov
Copy link
Collaborator

Our CLI cli_main doesn't suppose to work with other wallets except maker_keypair.json and taker_keypair.json for liquidation protection orders because of hardcode for Solend accounts.

It's necessary to use Pubkey::create_with_seeds for obligation account for current maker and use actual accounts for other assets. Now it's hardcode for USDC asset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant