deBridge Plugin for GOAT SDK
A plugin for the GOAT SDK that provides access to deBridge Liquidity Network (DLN) functionality.
Installation
# Install the plugin
poetry add goat-sdk-plugin-debridge
Usage
from goat_plugins.debridge import debridge, DebridgePluginOptions
# Initialize the plugin
options = DebridgePluginOptions()
plugin = debridge(options)
# Get order data
order_data = await plugin.get_order_data(
id="0x81fbb0ed8209eb57d084aee1986c00e597c1e1ec6bb93bc4dbe97266ca0398fb"
)
# Get supported chains
chains = await plugin.get_supported_chains()
# Get order IDs
order_IDs = await plugin.get_order_IDs(
hash="0xbe9071de34de9bd84a52039bc4bc6c8229d4bd65127d034ffc66b600d8260276" # Hash of the creation transaction
)
Features
- DLN
- Create order transaction
create_order_transaction - Get order data
get_order_data - Get order status
get_order_status - Get order IDs
get_order_IDs - Cancel order
cancel_order - Cancel external call
cancel_external_call
- Create order transaction
- Utils
- Get supported chains
get_supported_chains - Get token list
get_token_list
- Get supported chains
- Single Chain Swap
- Estimation
single_chain_swap_estimation - Transaction
single_chain_swap_transaction
- Estimation
DLN Swagger Docs
The deBridge plugin tools is a 1-to-1 representation of the DLN API. You can access the deBridge Swagger docs page for more information about the various parameters.
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for goat-sdk-plugin-debridge 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| goat_sdk_plugin_debridge-0.1.0.tar.gz | 5.2 kB | Without provenance | Details for goat_sdk_plugin_debridge-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goat_sdk_plugin_debridge-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for goat_sdk_plugin_debridge-0.1.0-py3-none-any.whl |
Total release size: 11.4 kB
Release files / goat_sdk_plugin_debridge-0.1.0.tar.gz
| Download URL | goat_sdk_plugin_debridge-0.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68ee631b618a9f24cbf7c5b73a695e296c1e3d72cf2dcb666e8efc89a9bc9d6c
|
|
BLAKE2b-256 checksum How to use checksums |
90435a5e40928fe12a454e3e2a1df9128b58e1efa40388fa901afd943b1980f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.8 Linux/6.6.26-1-MANJARO
|
Release files / goat_sdk_plugin_debridge-0.1.0-py3-none-any.whl
| Download URL | goat_sdk_plugin_debridge-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fde9474c675b3dbd7468eb55f215ba472232ae8594e94a1cc5e257adda54ccaf
|
|
BLAKE2b-256 checksum How to use checksums |
15e535d9b18b684456566d678b1066fb4312642225f92f12ef0632c7b877cc5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.11.8 Linux/6.6.26-1-MANJARO
|
Security for goat-sdk-plugin-debridge 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.