diff options
| author | Adrien Hopkins <[email protected]> | 2022-05-31 11:47:05 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-05-31 11:47:05 -0500 |
| commit | 66782a32054b98ffef1f5129d719acd8de1abbe2 (patch) | |
| tree | c1ab4ee448524735ef9a2d73212e910a570a2640 /routes/liquid/send.js | |
| parent | c80408c08ff2a8ca31df5ef3c7c9df13c9f714e4 (diff) | |
| download | coinos-server-66782a32054b98ffef1f5129d719acd8de1abbe2.tar.gz coinos-server-66782a32054b98ffef1f5129d719acd8de1abbe2.zip | |
Initial BTC withdrawal fee test
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 { |
