-
Notifications
You must be signed in to change notification settings - Fork 146
Integrating New Assets
Justin Do edited this page Nov 11, 2025
·
3 revisions
Adding support for an asset is accomplished by writing a Go package with types that implement a particular set of interfaces, defined in common.go and driver.go. There are then two ways to import the asset backend into the server software.
- The package is compiled with -
buildmode=pluginand imported at runtime by specifying the plugin in the server configuration. - The backend is added to the dcrdex repository, and imported directly at compile time.
With the exception of a small handful of assets which will be implemented during initial phases of DEX development, it is expected that development communities will release their own appropriately vetted plugins.
Existing implementations for supported assets are located in the server/asset directory.