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.7.0.tar.gz
(12.4 kB
view details)
Built Distribution
jam_sdk-0.7.0-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file jam_sdk-0.7.0.tar.gz
.
File metadata
- Download URL: jam_sdk-0.7.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025919727b9e75848887a698f6db7879ff4639b976e729605dd99be291cdab16 |
|
MD5 | 2def93e58d52ce7b38db78663f891f12 |
|
BLAKE2b-256 | 52004b4ca667226835ba233e0ee24af9a6689ddfe36a966ebbcb6d6f0bf67cb3 |
File details
Details for the file jam_sdk-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: jam_sdk-0.7.0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a596e60d8405c15143db9245c9f03a712c7e02d806aea062d95c79925dd88993 |
|
MD5 | 11fb561558ad809c5bb1184dd3049cd9 |
|
BLAKE2b-256 | 0de3e7edf694bd9a40085ad02a4698a7752c0ccb47c95131b19930df7b1f090e |