No project description provided
Project description
minswap-py (v0.2.0)
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
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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 483c85c3435693b24154a27f871867187ee690669f70917c44ab17c3d93e734b |
|
MD5 | 951d227c673cd61100ec9ff68c321075 |
|
BLAKE2b-256 | 8bc6ff6ede9af624c8a882505c182295c7a0bdd4334a37e4ac85491c66418ec8 |