Ennio Nasca
2954a7779f
update solanapy
2022-10-18 16:53:45 +02:00
Imaclean74
7d10ecc9eb
Replace Deprecated Account type with Keypair ( #92 )
...
* Replace Deprecated Account type with Keypair
* revert python version change
* removed comments, unnecessary spaces
* require solana-py >= 0.15.0
* fixed mypy errors
* fixed account loader
* Fix lint error
* fixing market tests
* fixing async_test_ market for Keypair
Co-authored-by: Ian MacLean <Imaclean74@github.com>
2021-11-03 20:57:08 -05:00
Kevin Heavey
954732976d
Add async support ( #82 )
...
* add async utils and connection
* refactor market.py before adding async
* add async open orders account
* add async_market
* add type hint
* replace pytest-tornasync with pytest-asyncio
* add async tests
* add async tests
* linting
* add async exmplae to README
* fix unit test selection
* bump minor version number
* chmod
* fix keygen error when key already exists
* use --cov-append
* fix coverage for multi test
* fix typo
Co-authored-by: kevinheavey <kevinheavey123@gmail.com>
2021-08-12 20:36:28 +01:00
Kevin Heavey
a2f9bd6ca4
Typing fixes ( #81 )
2021-08-10 10:06:07 -04:00
Michael Huang
4c03b7ef31
Set up docs ( #47 )
...
* Add sphinx
* Add doc src
* Update Mafile & LICENSE
* Bump down solana
* Docs under construction
* Add docs workflow
* Install sphinxemoji in workflow
* Only build docs on push
* Doc dependencies
* Remove make docs
* force_orphan
2020-10-05 21:12:53 -05:00
Michael Huang
d38cd2eef7
Bump solana to 0.5.0 ( #48 )
...
* Bump solana to 0.5.0
* Use TxOpts
* Use non-deprecated MemcmpOpts
* Fix lint errors
2020-10-05 21:02:12 -05:00
Michael Huang
135c770dcf
Changes for pypi release ( #44 )
...
* Adjustments for pypi release
* Remove if else
* Fix typo
* Revert "Remove if else"
This reverts commit 9beb895e56b4e9fa9d9a0b597671486afc84c072.
* Restore queue.py
* Revert "Restore queue.py"
This reverts commit d868475b0059d5d8c1c62132d9d031524e85729b.
* Restore event_queue_binary
* Restore other stuff
* Update README.md
* Fix version
* Address feedback
2020-10-01 10:37:32 -05:00
Michael Huang
a6c0f31f05
Set up code coverage ( #38 )
...
* Setup code coverage
* Update main.yml
* Use codecov.yml, add badges and clean up scripts
* Add pytest-cov to dev deps
2020-09-19 19:09:40 -05:00
Michael Huang
9abb0ca3a1
Replace raw endpoints with Client and scaffold remaining market functions ( #34 )
...
* Bump solana to 0.3.1
* Use client instead of raw endpoint
* Use TOKEN_PROGRAM_ID from spl.constants
* Scaffold unimplemented functions
* Rename open_order to open_orders
* Remove unnecessary code
* Remove unused import
* Add market client
2020-09-17 00:11:39 -05:00
michaelhly
03059f3474
Bump solana to 0.2.0 and add docker-compose.yml
2020-09-10 18:03:44 -05:00
Michael Huang
99692036b5
Implement instructions ( #16 )
...
* Bump solana to 0.1.1
* Implement initialize market
* Implement match orders
* Implement consume events
* Fix enum type hints
* Use instruction layout
* Make specific layouts private and use enum to index instruction type
* Add tests for data parsing
* Add parsing tests
* Remove index constants
* Update tests
2020-09-03 14:11:53 -05:00
Leonard G
f4749d63e4
Added Market Structure. ( #8 )
...
Added market structure, implemented the `load` factory function.
2020-08-31 20:52:51 +01:00
Michael Huang
89014c6287
Account flags layout ( #9 )
...
* Account flag layout
* Add wrapper methods
* Replace empty flags with padding
2020-08-30 18:45:39 -05:00
michaelhly
ad78622dac
Bump solana to 0.1.0
2020-08-29 23:33:08 -05:00
michaelhly
5edd6f64fc
Set up repo
2020-08-29 17:28:24 -05:00