Skip to content

Instantly share code, notes, and snippets.

@staccDOTsol
Last active August 21, 2022 14:08
Show Gist options
  • Save staccDOTsol/92cfb27beab32e2d279e2eda63ada56b to your computer and use it in GitHub Desktop.
Save staccDOTsol/92cfb27beab32e2d279e2eda63ada56b to your computer and use it in GitHub Desktop.

https://streamable.com/u23wnb

connection to cluster established: http://localhost:8899 { 'feature-set': 402709457, 'solana-core': '1.12.0' } balance is 782383173240 25jJo8mBzg5q4imAxBfC82cBXwMx9m3WpwiXtctU3pKZrciAVApg2FjRtRGdbkPymFHAxkMHBCA7LwvyMLrjRJSs created necessary accounts 4dZnVvYMddssBd3huE4WMff2PPrgqSsVSsX9YiMukx8AdCQHJoag4ZNaphyrbAiyR1MhigFn9N3SmsYoZoFHyVqu successfully inited the market at 928RmwinYENohNekoUTh7EDmSYx4MFGpwN535dWcgDUg balance is 774145575920 initiaing a market costs -8.23759732 market loaded // --------------------------------------- bids are: asks are: fills are: PROTOCOL: coin vault balance is 1000 pc vault balance is 1000 USER 1: coin user balance is 6000 pc user balance is 5000 USER 2: coin user 2 balance is 1000 pc user 2 balance is 1000 // --------------------------------------- placed bids // --------------------------------------- bids are: 120 10 asks are: fills are: PROTOCOL: coin vault balance is 1000 pc vault balance is 4400 USER 1: coin user balance is 6000 pc user balance is 1600 USER 2: coin user 2 balance is 1000 pc user 2 balance is 1000 // --------------------------------------- placed asks // --------------------------------------- bids are: 110 20 asks are: 130 30 fills are: PROTOCOL: coin vault balance is 1030 pc vault balance is 4400 USER 1: coin user balance is 6000 pc user balance is 1600 USER 2: coin user 2 balance is 970 pc user 2 balance is 1000 // --------------------------------------- 51XsLnHT3bJpYqzwR7jmDscZcHf6VCFutLu9PCHtkffpjzdRQ1yRu2kjKGz6fpSY2KKHYjoPu3nDRC8UxiqWPyvX consumed events // --------------------------------------- bids are: 110 20 asks are: 130 30 fills are: PROTOCOL: coin vault balance is 1030 pc vault balance is 4400 USER 1: coin user balance is 6000 pc user balance is 1600 USER 2: coin user 2 balance is 970 pc user 2 balance is 1000 // --------------------------------------- settled funds // --------------------------------------- bids are: 110 20 asks are: 130 30 fills are: PROTOCOL: coin vault balance is 1030 pc vault balance is 4400 USER 1: coin user balance is 6000 pc user balance is 1600 USER 2: coin user 2 balance is 970 pc user 2 balance is 1000 // ---------------------------------------

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