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

Serum Example Is Out Of Date #91

Closed
bonedaddy opened this issue Apr 21, 2021 · 2 comments
Closed

Serum Example Is Out Of Date #91

bonedaddy opened this issue Apr 21, 2021 · 2 comments

Comments

@bonedaddy
Copy link

bonedaddy commented Apr 21, 2021

Overview

The given example here is out of date. The Market.load function requires additional parameters including MarketOptions as well as programId. For example the following is a valid invocation of Market.load

await Market.load(
      provider.connection, 
      new anchor.web3.PublicKey("JCFHBoAxpFrKi9kShQdZCDUWjwCe1W25EvVza8DL8xwz"), 
      {}, 
      new anchor.web3.PublicKey("DESVgJVGajEgKGXhb6XmqDHGz3VjdgP7rEVESBgxmroY"),
    );
@bonedaddy
Copy link
Author

duplicate of #78

@ameken ameken mentioned this issue May 23, 2021
@Gsuz
Copy link

Gsuz commented Sep 7, 2021

where do you import anchor from?

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

No branches or pull requests

2 participants