• 24 April 2024 (61 messages)
  • @B0BSmith #11139 11:23 AM, 24 Apr 2024
    I get cors errors on that
  • @6370143984 #11140 11:24 AM, 24 Apr 2024
    looking into it
  • @6370143984 #11141 11:25 AM, 24 Apr 2024
    please share your request
  • @B0BSmith #11142 11:35 AM, 24 Apr 2024
    ah its port 4000 on api.counterparty.io and I now get 500 error
  • @6370143984 #11143 11:36 AM, 24 Apr 2024
    got it. can you please share your request
  • @B0BSmith #11144 11:45 AM, 24 Apr 2024
    I got it figured out ... the 500 error is a result of using a non counterparty tx hex
  • @Jpcryptos #11145 04:06 PM, 24 Apr 2024
    People i have an anoucment.
  • @Jpcryptos #11146 04:07 PM, 24 Apr 2024
    My team has worked enormously... these last two weeks.
  • @Jpcryptos #11147 04:08 PM, 24 Apr 2024
    We have built bytesdust.com a dapp that uses PSBT.... and works with okx and phabtom wallet.
  • @Jpcryptos #11148 04:08 PM, 24 Apr 2024
    Also next week we will launch atomic swap between xcp/btc xcp/eth xcp/otheeCP20
  • @Jpcryptos #11149 04:08 PM, 24 Apr 2024
    on tesnet.
  • @Jpcryptos #11150 04:26 PM, 24 Apr 2024
    If anyone has problems just let me know... it's still in the testing phase.
  • @Jpcryptos #11151 04:27 PM, 24 Apr 2024
    but any feedback would be helpful.
  • @6370143984 #11152 04:31 PM, 24 Apr 2024
    awesome!
  • @NorthrnSatosh #11153 04:32 PM, 24 Apr 2024
    That's a nice portal for Okx users
  • @NorthrnSatosh #11154 04:32 PM, 24 Apr 2024
    Really cool
  • @NorthrnSatosh #11155 04:32 PM, 24 Apr 2024
    I'm connected via Okx web 3 mobile Wallet
  • @Jpcryptos #11156 04:35 PM, 24 Apr 2024
    yes
  • @Jpcryptos #11157 04:35 PM, 24 Apr 2024
    you can buy, transfer, assets
  • @Jpcryptos #11159 04:37 PM, 24 Apr 2024
    just check how easy is to buy a dispenser
  • @Jpcryptos #11160 04:40 PM, 24 Apr 2024
    dispenser is 100 satoshis but minumum dust is 500, so the wallet just round to the minimun dust... thats why i received 5 xcp testnet
  • @uanbtc ↶ Reply to #11147 #11161 05:37 PM, 24 Apr 2024
    Very cool website man! Congrats. Some initial feedback:
    - the docs link didn’t work for me
    - imo dispensers showing 2 addresses adds unnecessary confusion to where the BTC should be sent (but inside View you could show both)
  • the app does not allow you to copy the addres, you just go to the little box on how much xcp you want click on calculate and it sends you to the send page, all calculated and ready to sign and send the transaction.
  • @uanbtc ↶ Reply to #11162 #11163 05:43 PM, 24 Apr 2024
    Ok this makes sense in the wallet use case I suppose. In the navigation / explorer use case, then allowing copying text is useful
  • the docs are not available yet. when we launch on mainnet... you will be able to see how the atomic psbt works... believe me i am an expert in cryptography. and the only thing that allows us to do CP for atomic swaps is to have 2 phases, one of pairing (when the bidder and the asker match the order) and signing when both send the signed psbt to a coordinator, and the coordinator (who combines the psbt in one) and retransmits them to the node, if either of them spends the input the tx fails, or if they try to double spend it. ... as neither of them can make use of the signed psbt, only the coordinator retransmits..... is not 100000% p2p but 0.1 % p2p. except for the coordinator.
  • I think it's the other way around, 10000% p2p just 0.1% the cordinator.
  • the scroll animation on the homepage is fine but would get tiresome after awhile, it people are going to use this all the time they will want something clean, simple and that works. I do not mean this to he harsh but at some point the data I see on screen is more important that the UI to look cool
  • @Jpcryptos #11167 06:34 PM, 24 Apr 2024
    Noted...
  • @Jpcryptos #11168 06:34 PM, 24 Apr 2024
    Any suggestions on how to improve it?
  • @Jpcryptos #11169 06:36 PM, 24 Apr 2024
    Thanks for the feedback .... 👍
  • @robotlovecoffee #11170 06:36 PM, 24 Apr 2024
    I think you need to have the hard brand hit at the start, it is cool but then once you are in the tool make it cleaner or less distracting
  • @robotlovecoffee #11171 06:37 PM, 24 Apr 2024
    think about any tool that you use all the time that you like, it is not because it looks cool it is because it does what you want
  • @robotlovecoffee #11172 06:38 PM, 24 Apr 2024
    so once I'm in the system to transact I want to have clear indication I'm doing what I should and acting on the data presented as I intend. Less is more in this case
  • linux shell.
  • @robotlovecoffee #11174 06:39 PM, 24 Apr 2024
    I was more concerned with the animation being present
  • @robotlovecoffee #11175 06:39 PM, 24 Apr 2024
    all the time
  • @robotlovecoffee #11176 06:39 PM, 24 Apr 2024
    I would not want that in my shell all the time
  • @robotlovecoffee #11177 06:39 PM, 24 Apr 2024
    but cool to see if and know what tool I'm using etc
  • @robotlovecoffee #11179 06:41 PM, 24 Apr 2024
    ya I saw this, love it
  • @robotlovecoffee #11180 06:41 PM, 24 Apr 2024
    could be a simple and a switch to turn off matrix in background
  • @Jpcryptos #11181 06:43 PM, 24 Apr 2024
    Without the matrix the interface looks is empty and sad, so we have to tell the designer to think of a solution.
  • @Jpcryptos #11182 06:45 PM, 24 Apr 2024
    The initial animation was a canvas, where the head had movement and tried to leave the screen, but then we thought that would scare the users....
  • @camzjamz #11183 06:54 PM, 24 Apr 2024
    Terms is spelt wrong, but that’s very minor
  • maybe pause the matrix, I do not need my banking app to have animation type vibe, but also would say this is a minor point and would not worry about it much
  • @6370143984 #11185 08:58 PM, 24 Apr 2024
    Hi, all. I am very happy to announce that there is a PR for APIv2 specification! https://github.com/CounterpartyXCP/Documentation/pull/184

    *This is a draft proposal*. Nothing has been finalized. Having said that, v11.0.0, of which APIv2 will be a part, will be released in weeks, not months, and so I'd encourage anyone who's interested (especially infrastructure providers) to review and comment on the proposal.

    This is a huge milestone. Special thanks to Ouziel Slama for his excellent work, and yet another heroic effort.
    API Blueprint by ouziel-slama · Pull Request #184 · CounterpartyXCP/Documentation

    Official Documentation of the Counterparty Project - API Blueprint by ouziel-slama · Pull Request #184 · CounterpartyXCP/Documentation

  • @droplister #11186 09:14 PM, 24 Apr 2024
    Looks neat to me…

    I’ll maybe put a comment later when I’m near my password manager, but anything that could be done around name and quantity normalization is helpful, imo.

    Like if it always/only returns the asset_name, I have to lookup if there’s an asset_longname.

    And if it always returns an integer quantity, I have to check for divisibility and normalize.
  • @droplister #11187 09:17 PM, 24 Apr 2024
    And if that’s not possible, making /assets endpoint include more info so I don’t need to make 120k calls to find out if the asset is divisible or not.
  • @droplister #11188 09:17 PM, 24 Apr 2024
    Afk but looks good overall
  • @uanbtc ↶ Reply to #11185 #11189 09:54 PM, 24 Apr 2024
    I just got to a “stable” node, as v10.0 still had issues. I need more time to make the proper tests and comparisons. Will do my best to make these asap.

    Any link with all plans for v11? Why the jump of major version?
  • @6370143984 #11190 09:56 PM, 24 Apr 2024
    ach I made a mistake. it's v10.1.2. Damn, sorry. Thank you for catching Juan!
  • @uanbtc #11191 09:56 PM, 24 Apr 2024
    😮‍💨 relief lol
  • @6370143984 #11192 09:58 PM, 24 Apr 2024
    hate dumb oversights like that. appreciate it! here's the 10.1.2 milestone: https://github.com/CounterpartyXCP/counterparty-core/milestone/17
    v10.1.2 (API v2) Milestone · CounterpartyXCP/counterparty-core

    Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-core development by creating an account on GitHub.

  • 25 April 2024 (1 messages)
  • @uanbtc #11195 10:17 PM, 25 Apr 2024
    v10 is an substantial increase in the counterparty.db size…..

    From 8GB to….

    14GB!

    (Being sarcastic lol. The “DB bloat” is such a non-issue we can definitely favor data denormalization for the foreseeable future 🤓)
  • 26 April 2024 (10 messages)
  • @droplister #11196 05:07 AM, 26 Apr 2024
    I added comments to the API design
  • on Github? or somewhere else?
  • @droplister #11198 05:13 AM, 26 Apr 2024
    API Blueprint by ouziel-slama · Pull Request #184 · CounterpartyXCP/Documentation

    Official Documentation of the Counterparty Project - API Blueprint by ouziel-slama · Pull Request #184 · CounterpartyXCP/Documentation

  • @uanbtc ↶ Reply to #11198 #11199 05:55 AM, 26 Apr 2024
    Read some of your comments, you should take a look at https://github.com/CNTRPRTY/xcpdev-genesis/tree/main/server/express_server/src if you haven’t.

    Is doing many of the things you mention (like including the asset longname and divisibility. And is designed to be as simple as possible, easy to follow
    xcpdev-genesis/server/express_server/src at main · CNTRPRTY/xcpdev-genesis

    Open Counterparty Bitcoin Data Explorer - DIY Node - CNTRPRTY/xcpdev-genesis

  • @Jpcryptos #11200 05:59 AM, 26 Apr 2024
    Clean
  • @uanbtc ↶ Reply to #11200 #11201 06:08 AM, 26 Apr 2024
    KISS (keep it simple stupid)
  • @Jpcryptos #11202 08:15 AM, 26 Apr 2024
    just one thing. uses models, to serialize. That saves you a lot of bugs and makes the code easier read
  • @Jpcryptos #11203 09:20 AM, 26 Apr 2024
    Having models helps you because I see that you are not doing sanitation. what would happen if someone called an endpoint and injected malicious SQL into the query.
  • @Jpcryptos #11204 09:20 AM, 26 Apr 2024
    ?
  • @uanbtc #11205 03:58 PM, 26 Apr 2024
    Im aware, and there is no need. (But if there is, because I’m missing something, please let me know.)

    For the GETs, it is a read-only DB connection. And the SQLite library I’m using, and being used correctly (not manipulating the string manually, but using its native parameter bindings) protects any possible malicious injection.

    Then the only POST endpoint just forwards the json body to the counterparty-lib, so here I’m delegating this responsibility. The lib should handle any malicious intent. And I forward the response.
  • 27 April 2024 (1 messages)
  • @uanbtc ↶ Reply to #11203 #11206 03:24 AM, 27 Apr 2024
    And to be super clear, and as stated in the server README, it is not meant to be a production setup.

    What is run in production is based on it, but not exactly the same. And it is consumed privately.

    Easy to notice, the api always returns the client’s ip, and none of that is seen in the express server. Also all responses go though a caching process, also not seen in the code.
  • 29 April 2024 (9 messages)
  • @Jpcryptos #11207 06:20 PM, 29 Apr 2024
    I have another update from bytesdust.com We added support for Bytedust the native token of the dex. and preparing to open atomicswapa on testnet soon.
  • @uanbtc ↶ Reply to #11207 #11208 07:14 PM, 29 Apr 2024
    https://www.xcp.dev/asset/BYTEDUST

    I see it was just issued. Will it have any utility?
  • @Jpcryptos #11209 07:19 PM, 29 Apr 2024
    Yes, the fees collected from the dex will be paid to the bytedust holders.
  • @Jpcryptos #11210 07:20 PM, 29 Apr 2024
    We are setting up a company in Cyprus that links tokens to shares and legally obligates tej company to pay to bytedust hodlers.
  • @Jpcryptos #11211 07:22 PM, 29 Apr 2024
    At the moment, the Dex operates legally under Bitcoin Brothers, a company that i founded in 2016 .
  • but this is the goal.
  • @Jpcryptos #11213 07:23 PM, 29 Apr 2024
    If this week no one launches atomic swaps in CP, I think bytedust will be the first to do so.
  • @Jpcryptos #11214 07:25 PM, 29 Apr 2024
    I just try to do things that are legal and well done.
  • @Jpcryptos #11215 07:26 PM, 29 Apr 2024
    but guess what.
    crypto is the market of distrust.
  • 30 April 2024 (7 messages)
  • @7164512594 #11216 03:24 AM, 30 Apr 2024
    Joined.
  • Of fourse bro, nothing is free. Atomic swaps that use PSBT do not use the native CP dex, it is a PSBt-based DEX that requires a coordinator to validate rules and ensures that the taker or maker does not do something malicious.
  • @Jpcryptos #11220 06:24 AM, 30 Apr 2024
    Look as if the coordinator were that guy that say.. hey,
    Pss pss I know a guy who sells something you're looking for, I can managing the exchange between two of you and i take a small fee.
  • @Jpcryptos #11221 06:27 AM, 30 Apr 2024
    but that fee will not go 100% to us, it will go to a wallet where BYTEDUST holders will be able to burn the token for BTC collected from the DEX fees
  • @Jpcryptos #11222 06:32 AM, 30 Apr 2024
    The sburning process is very simple, the user sends a unsigned psbt containing an output (op_return) to an burn address to the coordinator the cordinator reply with a unsigned psbt that contains an output with the BTC equivalent of the burned BYTEDUST. The holder validates that the two psbts are correct, combines them and then signs it, he sends the signed psbt to the coordinator and the coordinator adds the signature to the combined psbt, thus in a tx the BYTEDUST is burned and the equivalent BTC is obtained.
  • @6370143984 #11223 12:44 PM, 30 Apr 2024
    Nice job @Jpcryptos !
  • @Jpcryptos #11224 01:26 PM, 30 Apr 2024
    thanks bro. Aprreciate it.