Skip to content

Getting test market public keys #45

Answered by druspencer
bryantanjw asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bryantanjw thanks for your query. The marketPk in the docs is an example, to find currently open markets you can run this code from the cli-examples:

npm run getMarketsByMintToken Aqw6KyChFm2jwAFND3K29QjUcKZ3Pk72ePe5oMxomwMH open

This will return all open markets for the WINS token that you were sent.

You can also run:

npm run getMarketsByStatus open

This will return all open markets, for all mint tokens. For example, BetDEX have some test markets on devnet with their BetCoin token available from their Beta site.

There was an issue with example market creation which I've now resolved.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by druspencer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants