Skip to main content

Bebop Jam SDK

Project description

Bebop JAM SDK

Alt text

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.

  1. Quote: Given the requested tokens, provide a quote.
  2. Execute: Execute on chain the quote previously given.
  3. 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.

See example here.

Project details


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)

Uploaded Source

Built Distribution

jam_sdk-0.6.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

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

Hashes for jam_sdk-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7b68d758b124e41cc4794e17c56e7b486b738006f801ec291208df5d87a2afed
MD5 8509a8572027640464518ea1e47fb6ab
BLAKE2b-256 9c2083932543442578995d3bb26f8c2e90c1217f1719ca2d6379de4acc3f8238

See more details on using hashes here.

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

Hashes for jam_sdk-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3affdbcb07122ba44377c039454948d5464ccbbc3ff4386a2eb8ae287b870259
MD5 9f2d08191dfd28c2e84f408d88b6325d
BLAKE2b-256 a448ce0f17f9de47469d1573dfadeb82ee9d565ee650557e8cd56862fc42a15d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page