I'm currently working on an openbook_twap program that sits on top of openbook_v2 and, for specific markets, feeds prices into a TWAP aggregator. These changes made the TS client more convenient to work with, and I think would be generally beneficial. They include:
return the market's pubkey from createMarket, so that you can use the market in future instructions
allow the client to pass the market Keypair, so that I can first generate a keypair, then generate a PDA that will be the Market's open_orders_authority, then create the market
I'm currently working on an
openbook_twap
program that sits on top ofopenbook_v2
and, for specific markets, feeds prices into a TWAP aggregator. These changes made the TS client more convenient to work with, and I think would be generally beneficial. They include:createMarket
, so that you can use the market in future instructionsopen_orders_authority
, then create the market