No project description provided
Project description
minswap-py (v0.2.1)
minswap-py
is a tool to interact with Minswap. The current version has feature parity with the minswap blockfrost-adapter.
Documentation and additional features coming soon.
This tool was recently used to help generate data for the Minswap DAO Emissions and Treasury report. You can read the report here:
https://minswap.org/storage/2023/06/31-3-2023_Emissions_and_Treasury_Report.pdf
Have a question?
Reach out to me on the Minswap discord. You can usually find me on#technical
, and I'm happy to respond to questions there.
https://discord.com/channels/829060079248343090/845208119729979402
Support
If you find this project useful, please consider supporting the project by buying me a beer in the form of ADA or MIN:
addr1q9hw8fuex09vr3rqwtn4fzh9qxjlzjzh8aww684ln0rv0cfu3f0de6qkmh7c7yysfz808978wwe6ll30wu8l3cgvgdjqa7egnl
Changelog
0.2.1
There are now multiple Minswap pool addresses. This patch updates the code to read all of them when using minswap.get_pools
and subsequent functions that require pool addresses.
v0.2.0
Added CHANGELOG.md :)
Improvements:
- Added a blockfrost rate limiter. Every call to blockfrost adds to a time delayed counter, and prevents running into rate limits. This helps to prevent abuse of the blockfrost API.
- Added significant transaction and asset functionality. It is now possible to pull in asset historys.
Changes:
- There was an inconsistency in how time values were being cached. See the
examples/rename_time.py
for a way to translate previously cached data to the new standard.
Quickstart
In order to use this package:
- Install with
pip install minswap-py
- Sign up for blockfrost and get an API key.
- In your working directory, save a
.env
file. In this file, save your blockfrost API key as follows:
PROJECT_ID=YOUR_BLOCKFROST_ID
Once you do this, you can try out the code in the examples
folder on the Github repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for minswap_py-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fbe69f2fb199cd5641018749d2088da7233e878452f2b3f8a631a81bcb366ef |
|
MD5 | 07a27f8a2e2b6bd46beb2d749acfbbb0 |
|
BLAKE2b-256 | c4fd375d08b8c4f7a24f77cca534aeb7ff9a2ce494a8923452e6b2cd9b8c58a1 |