diff options
| author | Adrien Hopkins <[email protected]> | 2022-05-31 15:51:30 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-05-31 15:51:30 -0500 |
| commit | bea6dda302df971dbf9b4797c95f169cce6dafb3 (patch) | |
| tree | dc806d941945f7ee5f3cee730393fdd175da55e3 /routes/liquid/send.js | |
| parent | ca7224037fb01ded28b51d765e040d5cad36183b (diff) | |
| parent | 510a3bf2f63cb6edbcc9ad24dacdf6faefd80c52 (diff) | |
| download | coinos-server-bea6dda302df971dbf9b4797c95f169cce6dafb3.tar.gz coinos-server-bea6dda302df971dbf9b4797c95f169cce6dafb3.zip | |
Merge branch 'feature-withdrawal-fee'
Diffstat (limited to 'routes/liquid/send.js')
| -rw-r--r-- | routes/liquid/send.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js index 59334103..6f3616e8 100644 --- a/routes/liquid/send.js +++ b/routes/liquid/send.js @@ -1,6 +1,8 @@ const btc = config.liquid.btcasset; const lcad = config.liquid.cadasset; const { Transaction } = require("liquidjs-lib"); +const withdrawalFeeMultiplier = 0.01; // 1% withdrawal fee +const withdrawalFeeReceiver = "coinosfees"; // 1% withdrawal fee sendLiquid = async ({ asset, amount, user, address, memo, tx, limit }) => { try { |
