From 66782a32054b98ffef1f5129d719acd8de1abbe2 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Tue, 31 May 2022 11:47:05 -0500 Subject: Initial BTC withdrawal fee test --- routes/liquid/send.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'routes/liquid') 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 { -- cgit v1.2.3