This service is used in Openfinex microservice to generate wallets, sign and broadcast transactions
You should have two required env variables in peatio to make this plugin work
PLATFORM_ID
- will be saved automatically on platform creation API callPEATIO_JWT_PRIVATE_KEY
- peatio private keyHere the most important configuration for wallet configurations
Deposit/Hot wallet
gateway: field set as `opendax_cloud`
settings:
uri: a link to openfinex (e.g. "https://#{domain_name}/api/v2/opx/peatio")
blockchain_key
should be some blockchain with right explorer_address, explorer_transaction which you use for your currency configuration toogateway
field set as opendax_cloud
uri
should be a link to openfinex cloud, default is https://#{domain_name}/api/v2/opx/peatio
Create transaction
Load balance Be sure you have correct address in deposit/hot wallet configuration
Trigger webhook event
This method requires OPENFINEX_CLOUD_PUBLIC_KEY
env variable which will be used to decode request body from JWT (algorithm 'ES256') and return a list of transactions.