Bebop Jam SDK
Project description
Bebop JAM SDK
Official SDK for Bebop JAM.
Functionality
Supplies an interface to implement providing solutions for Jam:
- Managed websocket connection to JAM
- Simple base class to implement for providing solutions
- Cache management and validation
- Fully typed request and responses
- Jam contract deployments and ABIs
Getting Started
In order to connect to the JAM server, you will need some authentication details: host, post, name, authentication
. Please contact a team member to obtain these.
Bebop orders go through 2 stages. Quote & Order.
- Quote: Given the requested tokens, provide a quote.
- Execute: Execute on chain the quote previously given.
- Self-Execution Quote: Given the requested tokens, provide a quote and the interactions. Bebop will build the calldata and return it to the user .
To implement these functions, simply implement the BaseSolver
class with get_quote
, execute
, and get_taker_quote
functions.
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
jam_sdk-0.6.0.tar.gz
(12.3 kB
view details)
Built Distribution
jam_sdk-0.6.0-py3-none-any.whl
(13.4 kB
view details)
File details
Details for the file jam_sdk-0.6.0.tar.gz
.
File metadata
- Download URL: jam_sdk-0.6.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b68d758b124e41cc4794e17c56e7b486b738006f801ec291208df5d87a2afed |
|
MD5 | 8509a8572027640464518ea1e47fb6ab |
|
BLAKE2b-256 | 9c2083932543442578995d3bb26f8c2e90c1217f1719ca2d6379de4acc3f8238 |
File details
Details for the file jam_sdk-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: jam_sdk-0.6.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3affdbcb07122ba44377c039454948d5464ccbbc3ff4386a2eb8ae287b870259 |
|
MD5 | 9f2d08191dfd28c2e84f408d88b6325d |
|
BLAKE2b-256 | a448ce0f17f9de47469d1573dfadeb82ee9d565ee650557e8cd56862fc42a15d |