AwesomeKalin55via treechat·7mo
❤️ 5 Likes · ⚡ 0 Tips
{
  "txid": "c1dfa4a119ea534cb5c256888f8df28a09b3aeccbaaa7ca816ddfbf099d94bab",
  "block_height": 0,
  "time": null,
  "app": "treechat",
  "type": "post",
  "map_content": "I plan to take on the difficult task of building a BSV liquidity pool contract for BSV21 tokens (BSV20 may or may not be supported). It'll use 3 smart contracts, one contract for the token, 1 for the BSV or the other token and a 3rd for the liquidity token, all of which would need to be present in order to make a swap/add and remove liquidity.\r\nThe biggest problem with BSV liquidity pools is that you need someway to verify that the tokens the user is sending to the contracts is legitimate and not faked, in order to prevent all the coins in the pool being marked as invalid.\r\nI have thought of 2 ways. The first, and easiest way, is to use an off-chain oracle which will verify the input, make a Rabin signature and then that and the message gets sent to the smart contract. The second way is for the user to submit every single dependency of the token input and it's merkle path and block headers to the contract to verify.\r\nProblem with number 1 is that it centralised the contract, meaning if the oracle shuts down, only BSV -> token swaps are possible. Problem with number 2 is that it makes the contract a ridiculous size and fees would be quite large.\r\nI'll look into alternative ways to do this, and see how this problem was solved on Fractal Bitcoin, as Runes, and other token protocols on FB also have a similar problem needed to overcome.",
  "media_type": "text/markdown",
  "filename": "|",
  "author": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "display_name": "AwesomeKalin55",
  "channel": null,
  "parent_txid": null,
  "ref_txid": null,
  "tags": null,
  "reply_count": 2,
  "like_count": 5,
  "timestamp": "2025-09-09T08:01:38.000Z",
  "media_url": null,
  "aip_verified": true,
  "has_access": true,
  "attachments": [],
  "ui_name": "AwesomeKalin55",
  "ui_display_name": "AwesomeKalin55",
  "ui_handle": "AwesomeKalin55",
  "ui_display_raw": "AwesomeKalin55",
  "ui_signer": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "ref_ui_name": "unknown",
  "ref_ui_signer": "unknown"
}
⬇️
petevia treechat·7mo
❤️ 0 Likes · ⚡ 0 Tips
{
  "txid": "a0dec15f0731288ed412f6089bc43b9e9691216e3f70f8dbd35e616e74360f3d",
  "block_height": 0,
  "time": null,
  "app": "treechat",
  "type": "reply",
  "map_content": "As a user trust is the key issue, if that service wants my money. \ud83d\ude09",
  "media_type": "text/markdown",
  "filename": "|",
  "author": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "display_name": "pete",
  "channel": null,
  "parent_txid": "c1dfa4a119ea534cb5c256888f8df28a09b3aeccbaaa7ca816ddfbf099d94bab",
  "ref_txid": null,
  "tags": null,
  "reply_count": 0,
  "like_count": 0,
  "timestamp": "2025-09-09T08:49:14.000Z",
  "media_url": null,
  "aip_verified": true,
  "has_access": true,
  "attachments": [],
  "ui_name": "pete",
  "ui_display_name": "pete",
  "ui_handle": "pete",
  "ui_display_raw": "pete",
  "ui_signer": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "ref_ui_name": "unknown",
  "ref_ui_signer": "unknown"
}
Signed by14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGKAIP!