Comments (2)
I'm going to drive this out further by for initializeMarket
. We'll have one function to generate the instruction and then another that generates necessary accounts behind the scenes (they require no user input), generates the instruction, and sends the transaction
from psyoptions.
@evanpipta I think this is finally in a good place for connecting the front end. I added a script and some instructions to aid in generating a market locally as well.
The initializeMarket
function now clearly defines the arguments that the frontend will have to pass in and takes care of lots of account creation behind the scenes.
from psyoptions.
Related Issues (20)
- Implement Serum permissioned markets
- More flexible InitSerumMarket implementation
- Implement Serum Closeable Markets
- Mint fee not handled properly
- Implement Close OpenOrders Account HOT 1
- Remove unused accounts
- Create Convenient helper function for Serum InitOpenOrders Account
- Create helper function for permissioned Serum NewOrder
- Add the ability to name tokens HOT 1
- Update all processor functions to use on chain OptionMarket keys rather than account keys where possible
- Assert that the OptionMarket is not spoofed HOT 1
- Add 0.03% fee collection when minting HOT 3
- Add flat fee for NFTs
- Handle get/create fee collection accounts HOT 2
- Add 0.03% fee collection when exercising
- create function to validate feasible fee HOT 1
- Debit spreads?? HOT 1
- Missing check for SPL token program leads to loss of funds
- process_init_market doesn't check if the market is already initialized
- Refactor for dynamic Sysvars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psyoptions.