• 14 January 2024 (319 messages)
  • @B0BSmith #5446 05:59 PM, 14 Jan 2024
    $bag is a fractionalised (on ETH) rarepepe collection that lacks a RAREPEPE
  • @IndelibleTrade #5447 06:00 PM, 14 Jan 2024
    We are collection #4 is you check Pepe.wtf right now (reality position is like #16/17)
  • @B0BSmith #5448 06:01 PM, 14 Jan 2024
    OK well let's call it a testnet donation auction collection then

    I thought auctioning off cards was being seen as a good idea to help fund some stuffs ..maybe the honeypot name is the problem?
  • @IndelibleTrade #5449 06:03 PM, 14 Jan 2024
    For my stuff It’s intentionally named that way so as to poke fun and meme on the state of the crypto markets but yeh might want to brand that thing diffeeently here :)
  • @B0BSmith #5450 06:07 PM, 14 Jan 2024
    OK am open to calling it whatever i am just throwing idea out there .. I am happy donating cards to a auction collection specifically for a testnet xcp.dev instance
  • @6370143984 #5451 06:08 PM, 14 Jan 2024
    oh @B0BSmith was just teasing! honey potting is a a type of entrapment
  • @6370143984 #5452 06:08 PM, 14 Jan 2024
    but i get what you mean!
  • @Jpcryptos ↶ Reply to #5450 #5453 06:09 PM, 14 Jan 2024
    I have this proposal.....
    https://blocklack.com/counter-party/
    Counter Party - BLOCKLACK.com

    CounterParty Proposal for Enhancing and Streamlining the Counterparty Protocol and Architecture Start Now BITCOIN Blocklack® is a company based in Barcelona, with more than 11 years of expertise in IT,...

  • @Jpcryptos #5454 06:11 PM, 14 Jan 2024
    It's the most I can do to improve the protocol.....
    At the momento I will only focus on the counterpartydb api rest. and deliver it to the community
  • @B0BSmith #5455 06:11 PM, 14 Jan 2024
    I liked the name as if we get em hooked on testnet then hopefully we entrap devs to do something
  • @B0BSmith ↶ Reply to #5454 #5456 06:13 PM, 14 Jan 2024
    is rest api with GET faster than POST?
  • @B0BSmith #5457 06:14 PM, 14 Jan 2024
    it has to be as the query has already been done right?
  • @B0BSmith #5458 06:15 PM, 14 Jan 2024
    or is the query qhen using rest just constructed via url string data ? as opposed to json that's posted?
  • @Jpcryptos ↶ Reply to #5456 #5459 06:15 PM, 14 Jan 2024
    It's the same, the only thing that changes is the way you request the information... in get the query is in the url, in post it is done directly in the open HTTP channel and is sent as body.
  • @Jpcryptos #5460 06:16 PM, 14 Jan 2024
    there is no difference in performance
  • @B0BSmith ↶ Reply to #5459 #5461 06:16 PM, 14 Jan 2024
    OK so they equally Performant .. got it
  • @Jpcryptos #5462 06:16 PM, 14 Jan 2024
    The only limitation is that in GET the urls have a byte limit.
  • @B0BSmith ↶ Reply to #5460 #5463 06:16 PM, 14 Jan 2024
    thank you for clarifying this for me
  • @B0BSmith #5464 06:17 PM, 14 Jan 2024
    I was hesitant to build a load of post thinking get was quicker
  • @Jpcryptos #5465 06:17 PM, 14 Jan 2024
    I recommend using POST instead of get.
  • @Jpcryptos ↶ Reply to #5453 #5466 06:19 PM, 14 Jan 2024
    I have thought about posting a card that I have from 11 years ago as a method of funding.... but I do not know. My business is very profitable and I don't want to give the impression that we are selling a security, to help the CP community.
  • @teysol #5467 06:22 PM, 14 Jan 2024
    good news! literally just fetching the block from bitcoind is a significant chunk of the block parsing time. we can get rid of that completely be fetching them in a separate thread
  • @uanbtc ↶ Reply to #5450 #5468 06:22 PM, 14 Jan 2024
    Super appreciative, just know I will try to keep it low key and not directly engage (much) with the messaging around whatever funds you want to contribute.

    TLDR I don’t think I will ever ask directly like is seen too much around. People can find my addresses
  • @6922754072 #5469 06:24 PM, 14 Jan 2024
    Joined.
  • @uanbtc ↶ Reply to #5468 #5470 06:24 PM, 14 Jan 2024
    Small edit
  • @teysol #5471 06:38 PM, 14 Jan 2024
    aaand it looks like block parsing for *empty* blocks has gone from 1s to ~15s over the years, presumably because of the number of *non*-Counterparty transactions
  • @teysol #5474 06:39 PM, 14 Jan 2024
    that should be easy to fix as well, presumably with async detection of counterparty content😌
  • @XJA77 #5475 06:40 PM, 14 Jan 2024
    That's huge improvement ser @teysol thanks a million for take your time on this
  • @teysol #5476 06:41 PM, 14 Jan 2024
    no problem! the proof of the pudding is in the eating, as they say, but I'm feeling pretty confident we can speed up blockchain parsing significantly
  • @XJA77 #5477 06:42 PM, 14 Jan 2024
    That's a big part if we can remove the bootstrap needs is a very big improve
  • @B0BSmith #5478 06:45 PM, 14 Jan 2024
    so with async detection n multi threading block read time is reduced massively for the Counterparty-lib to receive the info ... and the method used petertodd v bitcoind becomes kinda academic .. very nice!
  • @Jpcryptos ↶ Reply to #5478 #5479 06:48 PM, 14 Jan 2024
    async and multithread are not the same as parallelization, which is what really gives the expected performance
  • @Jpcryptos #5480 06:49 PM, 14 Jan 2024
    Parallelization can be achieved if we use rabbitmq or some other service similar that starts the thread separately.
  • @B0BSmith #5481 06:50 PM, 14 Jan 2024
    I find it all fascinating
  • @Jpcryptos ↶ Reply to #5480 #5482 06:52 PM, 14 Jan 2024
    Rabbitmq with celery.
  • @Jpcryptos #5483 06:52 PM, 14 Jan 2024
    Or just a daemon...
  • @Jpcryptos #5484 06:52 PM, 14 Jan 2024
    that starts the blockparser.py separately from the api.py
  • @teysol ↶ Reply to #5478 #5485 06:54 PM, 14 Jan 2024
    yeah I'm seeing a significant amount of time spent on deserialization... but that doesn't matter at all during catchup at least
  • @B0BSmith ↶ Reply to #5485 #5486 06:55 PM, 14 Jan 2024
    This where I think PeterTods lib may be faster ? .. it just seems to load blocks quicker
  • @teysol #5487 06:55 PM, 14 Jan 2024
    here's a flame graph for the parsing of some recent blocks with no counterparty transactions
  • @Jpcryptos ↶ Reply to #5487 #5488 06:55 PM, 14 Jan 2024
    Cant open.
  • @Jpcryptos ↶ Reply to #5486 #5489 06:59 PM, 14 Jan 2024
    The pter tod library is fast deserializing because it uses ctypes in c
    in the most critical parts of the architecture
    https://github.com/petertodd/python-bitcoinlib/blob/master/bitcoin/core/key.py
    python-bitcoinlib/bitcoin/core/key.py at master · petertodd/python-bitcoinlib

    Python3 library providing an easy interface to the Bitcoin data structures and protocol. - petertodd/python-bitcoinlib

  • @XJA77 ↶ Reply to #5487 #5490 07:00 PM, 14 Jan 2024
    very cool tool didnt know it was looking for a profiling tool like this some time ago, py-spy cool thanks for sharing
  • @Jpcryptos ↶ Reply to #5487 #5492 07:00 PM, 14 Jan 2024
    can you send them in png?
  • @Jpcryptos #5493 07:00 PM, 14 Jan 2024
    Thanks bro
  • @B0BSmith ↶ Reply to #5489 #5494 07:01 PM, 14 Jan 2024
    til ty .. I just tried it and was blown away how much quicker it is
  • @teysol #5495 07:02 PM, 14 Jan 2024
    as a PNG you can't get the necessary tooltips to see the full field names
  • @Jpcryptos #5496 07:02 PM, 14 Jan 2024
    Oki ser
  • @Jpcryptos #5497 07:03 PM, 14 Jan 2024
    is it possible to have memory profiling?
  • @Jpcryptos #5498 07:03 PM, 14 Jan 2024
    Is there a python library to obtain it?
  • @teysol #5499 07:05 PM, 14 Jan 2024
    I'm sure there is
  • @B0BSmith ↶ Reply to #5489 #5500 07:13 PM, 14 Jan 2024
    was 9 years ago I discovered this .. on a rasberry pi2
  • @Jpcryptos #5501 07:17 PM, 14 Jan 2024
    Ling time
  • @B0BSmith #5502 07:32 PM, 14 Jan 2024
    op return was all the rage in them days
  • @B0BSmith #5503 07:36 PM, 14 Jan 2024
    as in it was fashionable .. coloured coins were launched n explorers showing up
  • @Jpcryptos #5504 07:43 PM, 14 Jan 2024
    Namecoin
  • @Jpcryptos #5505 07:43 PM, 14 Jan 2024
    🤔
  • @B0BSmith #5506 07:46 PM, 14 Jan 2024
    yeah that too looked interesting
  • @B0BSmith #5507 07:51 PM, 14 Jan 2024
    Peter Todd knew his stuff so I looked at his repo
  • @B0BSmith #5508 07:57 PM, 14 Jan 2024
    The OP_Return Wars of 2014 – Dapps Vs Bitcoin Transactions

    Abstract: In this piece we explore why Dapps are typically built on Ethereum rather than Bitcoin, which takes us all the way back to March 2014. We examine a debate about whether and how a Dapp pro…

  • @Jpcryptos ↶ Reply to #5494 #5509 08:06 PM, 14 Jan 2024
    It is preferred, I like it.
  • @B0BSmith #5510 08:07 PM, 14 Jan 2024
    I was sure I heard miners were using it and they got to be the fastest right ?
  • @6370143984 ↶ Reply to #5467 #5511 08:12 PM, 14 Jan 2024
    this is awesome, Adam!
  • @6370143984 #5512 09:55 PM, 14 Jan 2024
    [WIP] Python 3.11 + Hatch + Latest version for all dependencies + Fix tests by ouziel-slama · Pull Request #1322 · CounterpartyXCP/counterparty-lib

    Eventually pyproject.toml will completely replace setup.py. It is already usable with hatch: $ hatch run pytest counterpartylib/test/ --skiptestbook=all

  • @XJA77 ↶ Reply to #5512 #5513 10:00 PM, 14 Jan 2024
    WOW
  • @XJA77 #5514 10:02 PM, 14 Jan 2024
    Is Ouziel here?
  • @6370143984 #5515 10:12 PM, 14 Jan 2024
    don't think so! not sure if telegram is his thing.
  • @XJA77 #5516 10:13 PM, 14 Jan 2024
    I don't want to comment on the issue and contaminate with not technical things but maybe I write an aknowledgement comment there
  • @6370143984 #5517 10:14 PM, 14 Jan 2024
    i am not sure what counterparty's gh etiquette is but i'd very much think we'd like to move some dev comms over there?? @teysol what do you think
  • @robbyrbd #5518 10:17 PM, 14 Jan 2024
    @uanbtc here is my first draft of the counterwallet/counterblock bounty - https://gist.github.com/robby-dermody/85ca3125ee1ce96cf1e780f50819c976 — I had some unexpected family things come up today and wasn't able to give it a good sanity check, but I will get to that tomorrow. Let me know if you'd like to suggest any changes
    counterblock-bounty

    counterblock-bounty. GitHub Gist: instantly share code, notes, and snippets.

  • @robbyrbd #5519 10:17 PM, 14 Jan 2024
    anyone else welcome to review as well
  • @teysol ↶ Reply to #5517 #5520 10:27 PM, 14 Jan 2024
    good question. I think it'll evolve over time. in general, I'd probably encourage people to use GitHub issues for direct comment on particular concrete proposals. more general, open-ended discussion can happen here.

    as already discussed a bit, I also suggest we move in the direction of limiting CIPs specifically to comments on concrete proposals non-trivial protocol changes
  • @teysol #5521 10:28 PM, 14 Jan 2024
    in general, GitHub isn't going to be a place for conversation and discussion; it's going to be a place for more formal comments on concrete topics
  • @robbyrbd #5522 10:40 PM, 14 Jan 2024
    could be good to try to pull ouziel into this chat then, to allow more informal Q&A without mucking up the github issues
  • @6370143984 #5523 10:41 PM, 14 Jan 2024
    i don't disagree, would just request that people maintain the same level of cordiality in this chat as has been demonstrated since I joined. not everyone likes shitposting and trolling as much as yours truly, but still good to have them in the chat for dev purposes
  • @6370143984 #5524 10:42 PM, 14 Jan 2024
    @krostue don't mean to usurp chat groundrules, sorry
  • @uanbtc ↶ Reply to #5518 #5525 10:48 PM, 14 Jan 2024
    A challenge indeed! Is a good amount of time, so I don’t have any suggestions is ok!
  • @robbyrbd ↶ Reply to #5523 #5526 10:54 PM, 14 Jan 2024
    hah, well, he just needs to avoid the main Counterparty chat. this channel seems pretty on-topic and drama free. worth posing to him at least, I'd think
  • @robbyrbd ↶ Reply to #5525 #5527 10:54 PM, 14 Jan 2024
    Great, feel free to ping me as questions come up. thank you again!
  • @6370143984 ↶ Reply to #5526 #5528 10:58 PM, 14 Jan 2024
    yeah, i asked him. if he's up for it will add him here!
  • @Jpcryptos ↶ Reply to #5523 #5529 11:03 PM, 14 Jan 2024
    shitposting for general chat. and only devs here. understood
  • @krostue ↶ Reply to #5524 #5530 11:16 PM, 14 Jan 2024
    I don't see it like that at all.
    the previous message was something that was implicit afaik. glad for it to be explicit.

    btw many of you have titles in this room now, and adminship for some who should have it.
    If anyone who is actively working to help restore counterparty on GitHub or are interested in users (who are here reading silently) contacting them, please let me know via PM or here that you would like the "dev" title added.

    Also, on this topic. As stated, there is no room for advertising/project pushing in this room. yet, I believe it "fair use" and a good concession, to utilize the title for recognition. If you are a STAMPS dev, or would like another word next to dev title, I would be happy to add that. (reminds me of signatures on bct)
  • @krostue ↶ Reply to #5520 #5531 11:40 PM, 14 Jan 2024
    None
  • 15 January 2024 (104 messages)
  • @reinamora_137 #5532 12:05 AM, 15 Jan 2024
    Me wondering what chiefsamyaza’s title will be lol. On a serious note it’s very inspiring to see all the buzz in here. Makes it very inspiring to contribute to CP! Looking forward to getting back from a quick vacation to dive into some of the work already progressing! Nice work guys
  • @XJA77 #5533 02:45 AM, 15 Jan 2024
    mmmm dont uderstand this... so if i triggerrollback 824000 it takes a reparse just until that block and nothing more?
  • @XJA77 #5534 02:45 AM, 15 Jan 2024
    i thought it will trigger the reparse until that block and clean db after it and start parsing blocks again...
  • @XJA77 #5535 02:46 AM, 15 Jan 2024
    i dont understand why are there 2 commands that does the same?
  • @XJA77 #5536 02:46 AM, 15 Jan 2024
    😅
  • @XJA77 #5537 02:46 AM, 15 Jan 2024
    maybe im doing something wrong idk
  • @XJA77 #5538 02:51 AM, 15 Jan 2024
    ahhh i see so after triggering the rollback i have to start the parsing manually...
  • @XJA77 #5539 02:52 AM, 15 Jan 2024
    cool at least understanded maybe is cool add there a autostart flag for start parsing again after rollback
  • @XJA77 #5540 03:21 AM, 15 Jan 2024
    i had to do rollback again... with 824000 i cannot check anything as i lost matching hashes with xcp dev at 819576 so i will do it again from 819000
  • @herpenstein #5541 03:12 PM, 15 Jan 2024
    Anyone have a verified xcp dispenser list?
  • @Jpcryptos #5543 03:13 PM, 15 Jan 2024
    move this to the general group.
  • @Jpcryptos #5544 03:13 PM, 15 Jan 2024
    Please
  • @krostue #5545 03:15 PM, 15 Jan 2024
    I suggest @xcpdesk. It has the list published regularly and the custodian of that list, @Niftyboss1, is an admin of this room created by @rarepepetrader
  • @herpenstein #5546 03:32 PM, 15 Jan 2024
    Joined thanks.
  • @herpenstein #5547 03:33 PM, 15 Jan 2024
    @uanbtc looks like your split xcpdev this morning, am I good to start some work on xcpdev-api?
  • @FloridaBitcoiner #5550 05:37 PM, 15 Jan 2024
    Joined.
  • @uanbtc ↶ Reply to #5547 #5551 06:07 PM, 15 Jan 2024
    Yep is done! Go ahead
  • Kk trying to move my updates to the new branch. Swagger doesn’t like me though.
  • @herpenstein #5553 06:25 PM, 15 Jan 2024
    Seems like some setup config is wrong and the swagger-output.json isn’t being generated when index.json is run
  • @herpenstein #5554 06:26 PM, 15 Jan 2024
    On the previous branch I was testing by dropping a cp db in and running node index.js and it was coming up correctly
  • @uanbtc #5555 06:31 PM, 15 Jan 2024
    The project structure changed a bit, but I tested it and it should work.

    Did you do a new git clone from scratch?

    Also, for your latest commits you need to checkout to exchain_apis_round2

    And put the db inside src
  • @herpenstein #5556 06:35 PM, 15 Jan 2024
    Kk perhaps I messed something up. Ill let you know if I can’t get it fixed
  • @uanbtc ↶ Reply to #5555 #5557 06:35 PM, 15 Jan 2024
    And I kept the old branch: ja/exchain_apis_old. But don’t do more commits on it, is only for reference

    And xcpdev-genesis still has all the work as you left it, so you can also use it as a reference. But this one will be reverted to an old commit soon
  • @uanbtc ↶ Reply to #5556 #5558 06:37 PM, 15 Jan 2024
    Keep the one you have, but try a new one from scratch. Will be much easier than trying to update the old project
  • @herpenstein #5559 06:51 PM, 15 Jan 2024
    Kk fresh project npm start did the trick
  • @hodlencoinfield #5560 06:55 PM, 15 Jan 2024
    J Loone Brickens 🧱 (@wasthatawolf) on X

    A brief history of Counterparty events starting Nov 2023... (🧵) - After the release of v9.61, J-Dog handed over lead maintainer duties to three devs... me, @shannonNullCode, and @jp_janssen. We accepted this role so J-Dog could offload the weight of this responsibility.

  • @herpenstein #5561 08:00 PM, 15 Jan 2024
    @uanbtc does it make sense to try and recreate the exact data on the xchain api?

    Maybe it’s a better idea to get the info the user would want with the query and not necessarily have a 1 to 1 xchain replacement. Getting price data in these various places would be make some heavy queries.
  • @herpenstein #5562 08:01 PM, 15 Jan 2024
    The recent dex/dispenser data can be retrieve with another query when needed?
  • @B0BSmith #5563 08:01 PM, 15 Jan 2024
    you could zero price data for now if wanting to use freewallet desktop with alternate api host?
  • @uanbtc #5564 08:03 PM, 15 Jan 2024
    After the separation of repos, yes. But that does not guarantee I will personally host it if is too inneficient
  • Yeah that’s what I’m saying, trying to no have joins in these queries
  • @herpenstein #5566 08:04 PM, 15 Jan 2024
    Im not a database person so I don’t really know much about that anyways.
  • @herpenstein #5567 08:05 PM, 15 Jan 2024
    Just trying to get a functional first cut some queries in there
  • @uanbtc ↶ Reply to #5564 #5568 08:05 PM, 15 Jan 2024
    I would host the good DB player version 😆

    Which can be totally based on the FULL replacement (but inefficient) version. I’ll do my adjustments on top of whatever you build
  • @uanbtc #5569 08:07 PM, 15 Jan 2024
    Is not a bad idea to be the open source 100% replacement of the xchain api
  • @XJA77 ↶ Reply to #5303 #5570 08:11 PM, 15 Jan 2024
    Yes but it will take time to build all the queries exactly the same as exchain, also maybe for the 100% replacement API in the long term maybe is cool doing it in rust as is proposing and building here by @Jpcryptos was testing and retrieving the headers data of 50k blocks was done in 0.7 s
  • @uanbtc ↶ Reply to #5569 #5571 08:11 PM, 15 Jan 2024
    And is structured to be freewallet-specific compatible. Every path that starts with /api/ to be freewallet compatible. The rest (that don’t start with /api/) are the ones used by xcp.dev
  • @uanbtc ↶ Reply to #5570 #5572 08:14 PM, 15 Jan 2024
    I don’t think it would take THAT long… we slowed down mainly after realizing how damaging the queries were

    But the code can have them. And then we can identify the worse heavy ones and be disabled with a config
  • @XJA77 ↶ Reply to #5572 #5573 08:14 PM, 15 Jan 2024
    Well that's true
  • @Jpcryptos #5575 08:43 PM, 15 Jan 2024
    I have improved the query algorithm using SQL instead of DSL.
  • @Jpcryptos ↶ Reply to #5576 #5577 08:44 PM, 15 Jan 2024
    100k blocks 193ms. 46.25 MB of data
  • @XJA77 #5578 08:44 PM, 15 Jan 2024
    is it pushed ser? just pulled
  • @Jpcryptos #5579 08:44 PM, 15 Jan 2024
    0.1 sec jus getting 100k blocks
  • @Jpcryptos ↶ Reply to #5578 #5580 08:44 PM, 15 Jan 2024
    Branch feature/dynamic-filtering.
  • @XJA77 ↶ Reply to #5580 #5581 08:45 PM, 15 Jan 2024
    cool ser going to check it
  • @6370143984 #5582 08:45 PM, 15 Jan 2024
    📢 Ouziel is an absolute machine. Tests are all passing! https://github.com/CounterpartyXCP/counterparty-lib/pull/1322
    [WIP] Python 3.11 + Hatch + Latest version for all dependencies + Fix tests by ouziel-slama · Pull Request #1322 · CounterpartyXCP/counterparty-lib

    Eventually pyproject.toml will completely replace setup.py. It is already usable with hatch: $ hatch run pytest counterpartylib/test/ --skiptestbook=all

  • @XJA77 ↶ Reply to #5582 #5583 08:45 PM, 15 Jan 2024
    wow that was fast
  • @6370143984 #5584 08:46 PM, 15 Jan 2024
    I've never met another developer with Ouziel's endurance.
  • @Jpcryptos ↶ Reply to #5581 #5585 08:46 PM, 15 Jan 2024
    I'm working on making it compatible with counterparty-lib filtering
  • @Jpcryptos ↶ Reply to #5582 #5586 08:46 PM, 15 Jan 2024
    Awesome
  • @Jpcryptos #5587 08:49 PM, 15 Jan 2024
    Added debit and dispensers. Also.
  • @Jpcryptos #5588 08:50 PM, 15 Jan 2024
    I only have to add the order and the order_by.
  • @Jpcryptos ↶ Reply to #5585 #5589 08:51 PM, 15 Jan 2024
    @XJA77 I'm still working on compatibility, that's why I haven't moved it to main.
  • @XJA77 #5590 09:17 PM, 15 Jan 2024
    good news here after the rollback now im in consensus back with xchain
  • @6370143984 #5591 09:18 PM, 15 Jan 2024
    ohhhhhh yes!!!
  • @6370143984 #5592 09:18 PM, 15 Jan 2024
    @XJA77 would be super helpful if you documented this whole adventure
  • @XJA77 #5593 09:18 PM, 15 Jan 2024
    messages hash still not matching but the other 2 are matching
  • @XJA77 #5594 09:18 PM, 15 Jan 2024
    what do u need to be documented? the wole process?
  • @6370143984 #5595 09:19 PM, 15 Jan 2024
    well if message hashes are still out of sync then may be best to hold off
  • @XJA77 #5596 09:20 PM, 15 Jan 2024
    yes... lol
  • @XJA77 #5597 09:20 PM, 15 Jan 2024
    but at least ledger and txlist are synced
  • @6370143984 #5598 09:20 PM, 15 Jan 2024
    oh for sure big progress 🙂
  • @6370143984 #5599 09:20 PM, 15 Jan 2024
    great work.
  • @XJA77 ↶ Reply to #5599 #5600 09:23 PM, 15 Jan 2024
    from my pc lol now he is happy at the end temperatures down of 72ºC
  • @6370143984 #5601 09:26 PM, 15 Jan 2024
    fyi, in case people (understandably) don't read the main chat: https://twitter.com/CounterpartyXCP/status/1747000806417576089#m
    Counterparty (@CounterpartyXCP) on X

    *ANN* Adam Krellenstein (@agkrellenstein), creator and co-founder of Counterparty, will be re-joining Juan, @wasthatawolf, and @jp_janssen as a maintainer of the protocol ref. implementation 🎉 A special thanks to @jdogresorg for his work as lead maintainer these past years! 🙏

  • @6370143984 #5602 09:27 PM, 15 Jan 2024
    @uanbtc sorry for not @ing you :-/, was just a stupid timing error on my and adam's part.
  • @uanbtc #5603 09:29 PM, 15 Jan 2024
    Aww 😭 lol is ok I guess I’m not an “ influencer “ anyway…
  • @6370143984 #5604 09:30 PM, 15 Jan 2024
    lol I don't use twitter, just sharing here. If there's a way to rectify will make sure it is rectified!
  • @B0BSmith ↶ Reply to #5603 #5605 09:31 PM, 15 Jan 2024
    I beg to differ .. you are great influence
  • @teysol ↶ Reply to #5602 #5606 09:47 PM, 15 Jan 2024
    I replied to add you
  • @al_fernandz #5607 09:48 PM, 15 Jan 2024
    what Juan is not aware yet is that he is gonna be mentioned a time... or two... from now on
  • @uanbtc #5608 09:58 PM, 15 Jan 2024
    A couple of new follows already 😆
  • @6370143984 #5609 09:59 PM, 15 Jan 2024
    pretty soon you'll have so many followers people will be paying you to pump their shitcoins ❤️‍🔥
  • That can happen with a reorg, just find where they diverge
  • @teysol #5611 10:22 PM, 15 Jan 2024
    yeah it really shouldn't!
  • @hodlencoinfield #5612 10:23 PM, 15 Jan 2024
    Yeah I agree but that will explain the divergence
  • @hodlencoinfield #5613 10:24 PM, 15 Jan 2024
    Devon added the undo table for reorgs a few years back and it actually works really well, ignoring the message hash issue lol
  • @teysol #5614 10:25 PM, 15 Jan 2024
    ah what does that do?
  • @hodlencoinfield #5615 10:25 PM, 15 Jan 2024
    Basically allows a much simpler unwinding of one block automatically if a reorg is detected
  • @hodlencoinfield #5616 10:25 PM, 15 Jan 2024
    Or however many blocks it takes although I don’t think we’ve had a multi block reorg in a long time
  • @hodlencoinfield #5617 10:27 PM, 15 Jan 2024
    Have had multiple one block reorgs since ordinals started to become popular
  • @teysol #5618 10:27 PM, 15 Jan 2024
    ah okay, gotcha
  • @teysol #5619 10:27 PM, 15 Jan 2024
    that sounds neat, but also like it needs to be thoroughly tested
  • @hodlencoinfield #5620 10:28 PM, 15 Jan 2024
    It may have been, Devon was pretty thorough
  • @teysol #5621 10:28 PM, 15 Jan 2024
    probably the correct solution is to have a long-running CI job that just randomly rolls back to different block indexes :)
  • @teysol #5622 10:29 PM, 15 Jan 2024
    I've been assuming that nothing added to the protocol has been tested because the test suite has been failing... haven't looked at the changelog
  • As long as reorg triggers it, it’s something you want to happen immediately, want to get off the orphan block asap
  • @teysol #5624 10:31 PM, 15 Jan 2024
    yeah I mean I haven't looked yet, but how do you "undo" things reliably? the rollback function does it the safest way I could think of at the time
  • It’s a feature of SQLite I believe
  • @hodlencoinfield #5626 10:32 PM, 15 Jan 2024
    Would need to investigate more but it is something that’s been running for probly better part of 7 years and works well to keep nodes from crashing
  • @hodlencoinfield #5627 10:33 PM, 15 Jan 2024
    But I agree should have a better way to indicate a reorg happened than a message since any nodes after wouldn’t have that message creating the hash issue
  • @teysol ↶ Reply to #5626 #5629 10:39 PM, 15 Jan 2024
    why were nodes crashing?
  • @teysol ↶ Reply to #5627 #5630 10:39 PM, 15 Jan 2024
    hm, I don't understand...
  • Reorg
  • @hodlencoinfield #5632 10:42 PM, 15 Jan 2024
    Required manual restart
  • @teysol #5633 10:43 PM, 15 Jan 2024
    yeah okay I mean that's a bug...
  • @teysol #5634 10:43 PM, 15 Jan 2024
    in the implementation of rollbacks; not necessarily the design
  • @teysol #5635 10:43 PM, 15 Jan 2024
    (or in the implementation of something)
  • @hodlencoinfield #5636 10:44 PM, 15 Jan 2024
    Sure, maybe not the ideal solution but it has a history of working well, certainly not opposed to something else
  • @teysol #5637 10:44 PM, 15 Jan 2024
    yeah, we'll have to investigate and test
  • @6370143984 #5638 11:38 PM, 15 Jan 2024
    Folks, will getting counterblock back into shape obviate this issue? https://github.com/CounterpartyXCP/counterparty-lib/issues/1299
    Expand API to Support Block Explorers · Issue #1299 · CounterpartyXCP/counterparty-lib

    It seems that right now, if you want to create even a simple Counterparty block explorer, you first have to implement a lot of extra functionality in the backend. xchain.io has done this (closed-so...

  • @6370143984 #5639 11:38 PM, 15 Jan 2024
    maybe wrong channel, lmk if I should repost in general dev chat...
  • @6370143984 #5640 11:40 PM, 15 Jan 2024
    @robbyrbd pinging you as you're the counterblock godfather and may be able to weigh in on it...
  • 16 January 2024 (318 messages)
  • @robbyrbd #5641 12:32 AM, 16 Jan 2024
    in the absence of a comprehensive expansion of counterparty's base API, sure, counterblock's API already provides some (although not all) of the functionality that would be useful to a block explorer. moreover, it can be extended to provide additional parsing and API-level functionality by the creation of additional runtime modules (basically just a python module with certain hooks that is specified in its config file and loaded at runtime)
  • @robbyrbd #5642 12:36 AM, 16 Jan 2024
    for example, years ago I wrote a module for it to act as a XCP-XRP (Ripple) gateway
  • @robbyrbd #5643 12:38 AM, 16 Jan 2024
    here's an example of a module which adds a get_transaction_stats API method to it, along with the associated message feed processing, rollback processing, etc: https://github.com/CounterpartyXCP/counterblock/blob/master/counterblock/lib/modules/transaction_stats.py
    counterblock/counterblock/lib/modules/transaction_stats.py at master · CounterpartyXCP/counterblock

    Provides extended API services to Counterwallet, as well as Counterparty 3rd-party applications - CounterpartyXCP/counterblock

  • @Jpcryptos #5644 01:25 AM, 16 Jan 2024
    Another problem I found is that the some database table does not have primary keys, which sloww the SQL querys call time.
  • @Jpcryptos #5646 04:25 AM, 16 Jan 2024
    New release.
  • @XJA77 ↶ Reply to #5645 #5647 04:45 AM, 16 Jan 2024
    huge ser, works pretty fast, very interesting
  • @XJA77 #5648 04:46 AM, 16 Jan 2024
    retrieve first 1M issuances in 3.5 seconds wow 168 MB
  • @Jpcryptos #5649 04:49 AM, 16 Jan 2024
    I need to set a size limit.
  • @Jpcryptos ↶ Reply to #5648 #5650 04:50 AM, 16 Jan 2024
    Please note that these are not like a downloads. They are structured database queries.
  • @XJA77 #5651 04:50 AM, 16 Jan 2024
    yeah
  • @XJA77 #5652 04:50 AM, 16 Jan 2024
    is impressively
  • @robotlovecoffee #5653 11:33 AM, 16 Jan 2024
    I have had on ymy list to dive in XCP and BTC dev more for a bit and this is the year that I'm starting. If I wanted to get started what is the best resource to work to get a node up and running and are there any other places that could help me get up to speed to start doing code wwalkthrus etc. I know this might not be the correct place. I was going to look to run a local node simular to how I'm running my ORD node.
  • @robotlovecoffee #5654 11:34 AM, 16 Jan 2024
    Some may not know me, but I'm an old C# dev and have working with MS stack (C#, SQL Server) for a long time but that is not particulay helpful.
  • @teysol #5655 11:47 AM, 16 Jan 2024
    this is the right place!
  • @teysol #5656 11:47 AM, 16 Jan 2024
    the code is under heavy dev right now—fixing the test suite in particular—but the code runs!
  • @teysol #5657 11:48 AM, 16 Jan 2024
    GitHub - CounterpartyXCP/counterparty-lib

    Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.

  • @teysol #5658 11:48 AM, 16 Jan 2024
    along with counterparty-cli
  • ya I know lots of changes but would love to be reviewing the code so that at somepoint I can add value.
  • @teysol #5660 12:31 PM, 16 Jan 2024
    that'd be great!
  • @jp_janssen #5661 02:30 PM, 16 Jan 2024
    Not exactly protocol dev but important for preserving the "art layer" on top of Counterparty, and for building explorers:

    Torrent with Counterparty images from xchain, imgur, easyasset etc.

    https://jpjanssen.com/counterparty-image-archives/
  • @6370143984 ↶ Reply to #5613 #5662 02:50 PM, 16 Jan 2024
    looked further into this... isn't this sort of deblockchain-ifying the blockchain?
  • @6370143984 #5663 03:07 PM, 16 Jan 2024
    Also, read thru the dispensers stuff... am I misunderstanding, or is it the case that if two parties send BTC to a dispenser in the same block, one of them (presumably the one with the lower fee), will lose their BTC?
  • @B0BSmith #5664 03:13 PM, 16 Jan 2024
    That depends on how much token the dispensers holds and how much token it dispenses and how much token the tx with higest fee bought .. if some token left the second tx gets paid out too - but if not then thats a rugspeners from second tx point of view
  • @jp_janssen ↶ Reply to #5663 #5665 03:13 PM, 16 Jan 2024
    Yes but worse. Rugspenser scripts use RBF to frontrun.
  • @6370143984 ↶ Reply to #5665 #5666 03:14 PM, 16 Jan 2024
    omg
  • @6370143984 #5667 03:16 PM, 16 Jan 2024
    I don't understand... why are people fine with this lol
  • no, the past has already happened, unwinding blocks doesn’t break any sort of blockchain ethos
  • @teysol #5669 03:26 PM, 16 Jan 2024
    > Archive secured with on-chain hash; see xcp.dev and decoder.

    How does this work?
  • It “worked” when the community was small and you could request a refund from the seller (and usually get it). As the community has grown, we’ve seen more and more malicious actors exploiting this.
  • @hodlencoinfield #5671 03:27 PM, 16 Jan 2024
    its a tradeoff
  • @hodlencoinfield #5672 03:28 PM, 16 Jan 2024
    it opened up a lot of liquidity too, millions of dollars have passed through dispensers that otherwise wouldnt have
  • @mikeinspace #5673 03:28 PM, 16 Jan 2024
    It’s definitely the primary method of trade for counterparty
  • @6370143984 #5674 03:28 PM, 16 Jan 2024
    @herpenstein could PSBT supersede dispensers and mitigate the counterparty risk?
  • @6370143984 #5675 03:29 PM, 16 Jan 2024
    s/mitigate/eliminate
  • @hodlencoinfield #5676 03:29 PM, 16 Jan 2024
    PSBTs wont work unless we can bind assets to utxos
  • @6370143984 #5677 03:29 PM, 16 Jan 2024
    sorry, yes, that was implicit. was about to edit.
  • @6370143984 ↶ Reply to #5667 #5678 03:30 PM, 16 Jan 2024
    tbc by 'people' I meant 'users' not 'developers'.
  • @hodlencoinfield #5679 03:30 PM, 16 Jan 2024
    thats why theres a list of “trusted” dispensers
  • @hodlencoinfield #5680 03:30 PM, 16 Jan 2024
    and artists use it as a way to sell their tokens
  • @hodlencoinfield #5681 03:31 PM, 16 Jan 2024
    so not really a risk in that regard
  • @6370143984 #5682 03:31 PM, 16 Jan 2024
    got it, makes sense.
  • @hodlencoinfield #5683 03:31 PM, 16 Jan 2024
    but we all recognize its a bastardized btcpay lol
  • @6370143984 #5684 03:31 PM, 16 Jan 2024
    I wasn't gonna say anything lol
  • @6370143984 #5685 03:32 PM, 16 Jan 2024
    But in theory could PSBT + binding assets to UTXOs supersede both dispensers and BTCPay?
  • @hodlencoinfield #5686 03:32 PM, 16 Jan 2024
    yea for sure, but psbts also have their own drawbacks, nothing is perfect
  • @6370143984 #5687 03:33 PM, 16 Jan 2024
    Sure, understood, but are those drawbacks around counterparty risk or UX?
  • @hodlencoinfield #5688 03:33 PM, 16 Jan 2024
    if you want to “remove” a psbt sell offer you have to spend the utxo
  • @6370143984 #5689 03:33 PM, 16 Jan 2024
    _ah_
  • @hodlencoinfield #5690 03:34 PM, 16 Jan 2024
    its not a showstopper, just important to identify and be aware of so risk can be mitigated
  • @hodlencoinfield #5691 03:34 PM, 16 Jan 2024
    and i think binding assets to utxos actually enables more interesting things such as “moving” assets off of counterparty entirely
  • @hodlencoinfield #5692 03:34 PM, 16 Jan 2024
    it creates a sort of two way peg system
  • @hodlencoinfield #5693 03:35 PM, 16 Jan 2024
    once your asset enters the utxo you’ve sort of locked in the block height and counterparty version until you return it back to the platform
  • @hodlencoinfield #5694 03:36 PM, 16 Jan 2024
    in that way users can avoid fork drama, future updates they may not agree with, etc
  • @hodlencoinfield #5695 03:36 PM, 16 Jan 2024
    this was the impetus for my proposal to integrate ordinal theory into counterparty
  • @6370143984 #5696 03:37 PM, 16 Jan 2024
    yeah that's really neat. I understand I may be in the minority but I do think that the interoperability between a native protocol and a (much bigger) external protocol can deprive the former of oxygen if it's not sticky, so again, I do think that coming up with a more comprehensive gas system would be, if not a precondition of such interoperability, certainly a very good thing to have.
  • @hodlencoinfield #5697 03:38 PM, 16 Jan 2024
    Ordinal Envelopes

    An ordinal envelope is a mechanism that allows Counterparty assets to be moved into and out of an individual satoshi via its Ordinal number. From a technical perspective, this implementation is fairly straightforward. The challenge is convincing the Counterparty community that the rewards of integrating ord outweigh the potential risk to long term stability of the platform. I’m writing this post to eventually publish as a CIP so will keep the same format for portability… Abstract Ordinal nu...

  • @hodlencoinfield #5698 03:38 PM, 16 Jan 2024
    ordinal theory actually fits very well in between counterparty and bitcoin
  • @hodlencoinfield #5699 03:38 PM, 16 Jan 2024
    not inscriptions and all the logic around those
  • @hodlencoinfield #5701 03:39 PM, 16 Jan 2024
    but simple sat identification
  • @6370143984 #5702 03:39 PM, 16 Jan 2024
    I haven't done my homework... breaking the fungability of sats sounds a whole lot like colored coins. Are ordinals just more elegant or is there a deeper difference?
  • @hodlencoinfield #5703 03:39 PM, 16 Jan 2024
    ordinals basically “solved” colored coins
  • @hodlencoinfield #5704 03:39 PM, 16 Jan 2024
    by pre-coloring every sat
  • @6370143984 #5705 03:39 PM, 16 Jan 2024
    _ah_
  • @6370143984 #5706 03:39 PM, 16 Jan 2024
    okay.
  • @hodlencoinfield #5707 03:40 PM, 16 Jan 2024
    so if you follow the fairly simple sat id method, you create an overlay with which you can do fun things
  • @6370143984 #5708 03:40 PM, 16 Jan 2024
    right, takes the onus off of the end-user for doing the 'coloring'. that's neat!
  • @hodlencoinfield #5709 03:41 PM, 16 Jan 2024
    as far as breaking fungibility, all it really does is expose the fact that bitcoin isnt really completely fungible in the first place
  • @hodlencoinfield #5710 03:41 PM, 16 Jan 2024
    it doesnt really make it worse IMO
  • @6370143984 #5711 03:41 PM, 16 Jan 2024
    sure, i didn't mean it negatively.
  • @6370143984 #5712 03:41 PM, 16 Jan 2024
    that was the verbiage around colored coins back in the day.
  • @hodlencoinfield #5713 03:43 PM, 16 Jan 2024
    yea for sure, just a weak argument
  • @hodlencoinfield #5714 03:44 PM, 16 Jan 2024
    and its still the maximalist argument against ordinals
  • @6370143984 #5715 03:44 PM, 16 Jan 2024
    lol who cares.
  • @hodlencoinfield #5716 03:46 PM, 16 Jan 2024
    the really interesting thing with ordinals is people then using ord to create new metaprotocols like brc-20 etc
  • @hodlencoinfield #5717 03:46 PM, 16 Jan 2024
    basically people rediscovering the mastercoin/counterparty model 9 years later lol
  • @6370143984 #5718 03:46 PM, 16 Jan 2024
    lol yes, plus VC money
  • @hodlencoinfield #5719 03:47 PM, 16 Jan 2024
    yeah but VCs are just reacting right now
  • @6370143984 ↶ Reply to #5697 #5720 03:47 PM, 16 Jan 2024
    read this. think i get it. super interesting.
  • @hodlencoinfield #5721 03:47 PM, 16 Jan 2024
    so someone spins up some random indexer and they go “shut up and take my money!”
  • @6370143984 #5722 03:47 PM, 16 Jan 2024
    but yeah Luke-Jr must be livid lol.
  • @hodlencoinfield #5723 03:48 PM, 16 Jan 2024
    hahaha i think thats his neutral state
  • @Jpcryptos ↶ Reply to #5691 #5724 04:04 PM, 16 Jan 2024
    👍
  • @Jpcryptos ↶ Reply to #5691 #5725 04:13 PM, 16 Jan 2024
    Only then could we add more new functionality and features.
  • @hodlencoinfield #5726 04:15 PM, 16 Jan 2024
    we can certainly add more features/functionality without it, but what it does bring is interoperability
  • @6370143984 #5727 04:15 PM, 16 Jan 2024
    yeah, addtl functionality is independent (but IMO also a good thing)
  • @hodlencoinfield #5728 04:15 PM, 16 Jan 2024
    the lowest hanging fruit in bitcoin right now is creating bridges between indexers
  • @Jpcryptos ↶ Reply to #5726 #5729 04:15 PM, 16 Jan 2024
    privacy, smart contracts, safer and dex dispensers
  • sir, counterparty is a smart contract
  • @Jpcryptos #5731 04:16 PM, 16 Jan 2024
    but it is not turing complete.
  • @6370143984 #5732 04:16 PM, 16 Jan 2024
    🙂Counterparty has hard-coded smart contracts
  • @6370143984 #5734 04:17 PM, 16 Jan 2024
    Ethereum touted its Turing-complete smart contract system in order to raise lots of money but I think at this point no one really cares lol
  • @6370143984 #5735 04:18 PM, 16 Jan 2024
    Adam ported the EVM to Counterparty back in 2014... the goal isn't just to have a smart contract system, but a *good* one.
  • @Jpcryptos ↶ Reply to #5691 #5736 04:20 PM, 16 Jan 2024
    Although this could bring more functionality, it's just my opinion.
  • @6370143984 #5737 04:20 PM, 16 Jan 2024
    Losing insane amounts of money from poorly written smart contracts has amazingly been normalized in crypto, but, like, it should be avoided...
  • @Jpcryptos #5738 04:21 PM, 16 Jan 2024
    I'm not a fan of the evm.
  • @Jpcryptos #5739 04:21 PM, 16 Jan 2024
    But I am a fan of simple contracts MPC and zk-snarks
  • @6370143984 #5740 04:22 PM, 16 Jan 2024
    yep for sure. tbf i don't think anyone likes the evm. vitalik designed it when he was 19
  • yeah its crazy how people hand over control of their wallets with a single signature
  • @hodlencoinfield #5742 04:24 PM, 16 Jan 2024
    and thats totally normal
  • @hodlencoinfield #5743 04:25 PM, 16 Jan 2024
    the marketplace experience with psbts is far superior, just needs to have better mechanisms for “delisting”
  • @6370143984 #5744 04:25 PM, 16 Jan 2024
    it's great to see actual progress made
  • @6370143984 #5745 04:26 PM, 16 Jan 2024
    some of the new ethereum competitors are quite interesting e.g. but the waters are muddied by their obscene fundraising.
  • @g0barry #5746 04:35 PM, 16 Jan 2024
    I've wondered for awhile, maybe this is a dumb question
  • @g0barry #5747 04:36 PM, 16 Jan 2024
    Is there a reason counterparty transactions don't support RBF?
  • @jp_janssen ↶ Reply to #5669 #5748 04:42 PM, 16 Jan 2024
    Each archive is a zip file. I notarized these with Counterparty broadcasts.

    The problem is the token-image relationship. In most cases there is nothing onchain. Only xchain, or at best imgur or easyasset links, both without hash.

    In case xchain, imgur or easyassets shuts down, future block explorers can use these archives as image sources (ideally with explainer).
  • @jp_janssen ↶ Reply to #5747 #5749 04:44 PM, 16 Jan 2024
    Counterparty supports RBF. I use it all the time. I create cntrprty opreturn and send from Electrum.
  • @g0barry ↶ Reply to #5749 #5750 04:45 PM, 16 Jan 2024
    Oh great
  • @g0barry #5751 04:45 PM, 16 Jan 2024
    I see
  • @g0barry #5752 04:45 PM, 16 Jan 2024
    so its just the freewallet implementation not utilizing it
  • @g0barry #5753 04:45 PM, 16 Jan 2024
    up to the wallet in terms of how they are handling it
  • @g0barry #5754 04:46 PM, 16 Jan 2024
    thanks
  • @jp_janssen #5755 04:46 PM, 16 Jan 2024
    Correct
  • @jp_janssen ↶ Reply to #5667 #5756 04:57 PM, 16 Jan 2024
    The dispenser is like the vending machine from the early days. Difference being the dispenser is on the protocol level.

    For the seller it means no need to run a vending machine script 24/7 and only 1 tx to make N sales.

    For the buyer I don't see much benefit. Why so popular? I guess a combo of risk willingness and ignorance. It's not like we've been good at communicating the risk.

    The dispenser is no better than sending btc to a stranger and trusting they will send you the goods in return.
  • @hodlencoinfield #5757 04:58 PM, 16 Jan 2024
    the buyer benefits by only needing a single tx
  • @hodlencoinfield #5758 04:58 PM, 16 Jan 2024
    and not waiting for an order match to confirm first
  • @jp_janssen #5759 04:59 PM, 16 Jan 2024
    Compared to the DEX, yes.
    This was vs vending machine.
  • @hodlencoinfield #5760 05:00 PM, 16 Jan 2024
    the order is filled automatically, theres no waiting for someone to send
  • @teysol ↶ Reply to #5756 #5761 05:05 PM, 16 Jan 2024
    wait, hold the phone. so you have to trust the person running the dispenser to send you the other token? I thought that token was escrowed by the protocol?

    the risk is rather that you will get *front run* by some anonymous buyer
  • No you don’t that was his analogy
  • you can get front-run by the seller, basically at no cost
  • @jp_janssen #5764 05:08 PM, 16 Jan 2024
    Kinda, the front running buyer can be the seller.
  • @hodlencoinfield #5765 05:08 PM, 16 Jan 2024
    There used to be a risk the person closes the dispenser on you, although that’s been mitigated with 5 block delay close
  • @blockjack8 ↶ Reply to #5761 #5766 05:09 PM, 16 Jan 2024
    You have to trust the Seller. But everything IS automated.

    Proble are:

    1) The Seller can be at the same time the frontrun buyer with other wallet.

    The most commun scam IS this one.

    2) They can also close the dispenser before the buying TX goes throught.
  • @hodlencoinfield #5767 05:09 PM, 16 Jan 2024
    The risk right now is just anyone front running you
  • @hodlencoinfield #5768 05:09 PM, 16 Jan 2024
    Obviously if it’s the seller it’s cheaper since they receive the funds
  • @blockjack8 #5769 05:09 PM, 16 Jan 2024
    3) A real buyer empty the dispenser before you... But you can see unconfirmed TX on Xchain.
  • @hodlencoinfield #5770 05:10 PM, 16 Jan 2024
    But anyone can front run
  • @hodlencoinfield #5771 05:10 PM, 16 Jan 2024
    Since there’s no order match
  • @hodlencoinfield #5772 05:10 PM, 16 Jan 2024
    (Bastardized btcpay)
  • @teysol #5773 05:11 PM, 16 Jan 2024
    yes right, okay
  • @teysol #5774 05:13 PM, 16 Jan 2024
    okay so what I'm hearing is that dispeners are super useful and belovéd and important but there's no reason for them to be a protocol feature and like not a regular old centralized service?
  • No they are great for artists
  • @teysol #5776 05:14 PM, 16 Jan 2024
    no sure! but how is the trust model different from that of a centralized service?
  • @hodlencoinfield #5777 05:14 PM, 16 Jan 2024
    Not everyone has that ability / skill set for one
  • @hodlencoinfield #5778 05:14 PM, 16 Jan 2024
    For the seller they don’t need to trust anyone
  • Both the buyer and seller are typically ignorant of the trust assumptions, so it ends up working... most of the time.
  • @hodlencoinfield #5780 05:15 PM, 16 Jan 2024
    For the buyer if dispenser owner is known it’s not really a risk either
  • @hodlencoinfield #5781 05:15 PM, 16 Jan 2024
    And the biggest difference is no one needs to run an additional piece of software that requires uptime, maintenance, etc
  • @hodlencoinfield #5782 05:16 PM, 16 Jan 2024
    I’ve seen a lot of artists use dispensers as their primary sales channel
  • @hodlencoinfield #5783 05:17 PM, 16 Jan 2024
    Worth noting it would also be just as easy for them to create a btcpay Tx
  • @hodlencoinfield #5784 05:17 PM, 16 Jan 2024
    So if we can get a better ux for btcpay I think many people would use it
  • @hodlencoinfield #5785 05:17 PM, 16 Jan 2024
    That’s actually what rarepepewallet was before it was rarepepewallet, it was btcpaymarket
  • @hodlencoinfield #5786 05:18 PM, 16 Jan 2024
    My attempt to make btcpay easier
  • @mikeinspace #5787 05:18 PM, 16 Jan 2024
    BTCpay requires the Bitcoin to be received within 10 blocks. These days with the mempool the way it is, its not unreasonable for even a high fee to not confirm within 10 blocks.
  • @teysol #5788 05:21 PM, 16 Jan 2024
    okay this is all helpful 🙏
  • 20 blocks I think
  • @hodlencoinfield #5790 05:23 PM, 16 Jan 2024
    But yea btcpay still has its own risks in a high fee environment
  • @herpenstein #5791 05:29 PM, 16 Jan 2024
    btcpay works but is clunky and inconsistent when miner fees are high

    dispensers work well but require trust in the user running the dispenser.

    A utxo based psbt system will alleviate these two issues, but presents a ui/ux issue where after a psbt is signed, if a user wants to cancel the order, they would have to execute a tx to spend the utxo and move their asset into another utxo to invalidate the psbt
  • @herpenstein #5792 05:31 PM, 16 Jan 2024
    They all have some drawbacks, but I think psbts are the most user friendly and they are deterministic and final in a single tx
  • @teysol #5793 05:32 PM, 16 Jan 2024
    yep sounds right!
  • @blockjack8 ↶ Reply to #5791 #5794 05:33 PM, 16 Jan 2024
    This could be done in the front with a single click isnt It?
  • @Jpcryptos ↶ Reply to #5791 #5795 05:34 PM, 16 Jan 2024
    A utxo based psbt system. 👍
  • To “cancel” all 3 solutions require a txn, so this is in no way unique to PSBT so I wouldn’t really consider this a UX issue for PSBT.
  • @mikeinspace #5797 05:37 PM, 16 Jan 2024
    I mean it is, but no worse than the current solutions
  • @B0BSmith #5798 05:39 PM, 16 Jan 2024
    To "cancel" you can buy yourself out of your own dispenser or create a close dispenser tx - both have same end result - dispenser is closed but one means moving btc to dispenser address whereas the other does not

    Counterparty was recently updated to allow closing of dispensers from opening address - previously you could only close from the address dispenser was on so a self buyout could be done with a single tx
  • @B0BSmith #5799 05:41 PM, 16 Jan 2024
    previously one would have to send btc to dispenser address (less than the trigger amount) to then make the cancel tx
  • @blockjack8 #5800 05:42 PM, 16 Jan 2024
    But my question is that even do there needs to be a cancel in two steps. There could be a button that says "cancel listings" that realizes one if the two options B0B said to cancel It on the back.
  • @B0BSmith #5801 05:43 PM, 16 Jan 2024
    Sure on back end anything can be made to happen but at protocol level is what is discussed here
  • @B0BSmith #5802 05:46 PM, 16 Jan 2024
    wallets can have all sorted of features - once you got private key you can sign txs to do things and not show each tx to user - just one big cancel button is enough to cancel all open dispensers but that may be half a dozen txs
  • @B0BSmith #5803 05:46 PM, 16 Jan 2024
    wallets can also be built without private keys and as watch only - then cancelling 6 dispensers would be a faff
  • @blockjack8 #5804 05:47 PM, 16 Jan 2024
    This IS then a great solution IMO, I dont see any drawbacks then.
  • @B0BSmith #5805 05:48 PM, 16 Jan 2024
    what if you put a asset in a utxo then use that utxo without counterparty? is asset then stuck forever in a utxo that no longer exists?
  • @B0BSmith #5806 05:48 PM, 16 Jan 2024
    or will it be un escrowed? back to origin address?
  • Since CP is a metaprotocol, it can make whatever rules it wants. I would think if the utxo is spent by accident, CP can automatically credit the asset back to the users wallet
  • @B0BSmith #5808 05:52 PM, 16 Jan 2024
    yeah needs to be considered as some user will have that accident i bet
  • @herpenstein #5809 05:53 PM, 16 Jan 2024
    But that would require CP to check all utxos in each tx and see if they hold anything.

    Perhaps the user would need to execute a redeem tx where they identify the utxo they accidentally spent to get credited.
  • @B0BSmith #5810 05:53 PM, 16 Jan 2024
    or it will be used as a type of burn
  • @herpenstein #5811 05:54 PM, 16 Jan 2024
    Then there is @hodlencoinfield idea using the asset like an ordinal instead, which would mean you accidentally send the asset to another user
  • @B0BSmith ↶ Reply to #5809 #5812 05:54 PM, 16 Jan 2024
    So would have to be from same address only else how do you know its real.
  • @herpenstein #5813 05:54 PM, 16 Jan 2024
    Regardless of the final implementation, these issues are solvable at the wallet ui/ux level
  • @B0BSmith #5814 05:55 PM, 16 Jan 2024
    not if user traps a asset its not
  • Correct, in that case only you can sign a tx to redeem the asset whose utxo you accidentally spent
  • Can you elaborate? I don’t understand
  • @B0BSmith #5817 05:55 PM, 16 Jan 2024
    protocol has to be able to recognise the redeem
  • Correct. If that were the decided way to do it, there would need to be a CP call to redeem
  • @B0BSmith #5819 05:57 PM, 16 Jan 2024
    yeah .. if that is what is is done. I just pointing out putting a token in a utxo does not guarantee that utxo will interact with that token it (the utxo) may be used elsewhere
  • Yeah that’s true. Wallets would need to scan utxos and check if they hold any assets before generating a tx
  • @B0BSmith #5821 05:58 PM, 16 Jan 2024
    users will find a way to do what was not intended
  • The advantage with using sat id from ordinal theory is that utxo tracking is already solved
  • @B0BSmith ↶ Reply to #5820 #5823 05:58 PM, 16 Jan 2024
    ppl use electrum to consolidate counterparty address utxos all the time
  • @B0BSmith #5824 05:59 PM, 16 Jan 2024
    it does not understand counterparty and not every wallet will nor should
  • You have to use a separate derivation path for utxo based assets
  • @B0BSmith #5826 05:59 PM, 16 Jan 2024
    and i can derivate anything from a seed if i want
  • @hodlencoinfield #5827 05:59 PM, 16 Jan 2024
    You can’t have them all under one address it would be a ux nightmare
  • @B0BSmith #5828 06:00 PM, 16 Jan 2024
    but its tied to a utxo not a address
  • @B0BSmith #5829 06:00 PM, 16 Jan 2024
    it needs a lot of thought
  • Yes but that utxo is tied to an address
  • @B0BSmith #5831 06:00 PM, 16 Jan 2024
    yeah and you cant stop people using them in other wallets is all i am pointing out
  • Any update to counterparty that involves binding assets to utxos or sat ids needs to come with a sort of best practices guide
  • @hodlencoinfield #5833 06:01 PM, 16 Jan 2024
    As a wallet developer I would simply use a slightly different derivation path for anything utxo or sat based
  • @B0BSmith #5834 06:01 PM, 16 Jan 2024
    for sure - and as many fail safe mechanisims as can be reasonably provided
  • @hodlencoinfield #5835 06:02 PM, 16 Jan 2024
    This way segregating them from the counterparty address
  • @B0BSmith #5836 06:02 PM, 16 Jan 2024
    yeah i think that needs making very clear
  • @hodlencoinfield #5837 06:02 PM, 16 Jan 2024
    100%
  • @hodlencoinfield #5838 06:04 PM, 16 Jan 2024
    I like the sat id method for a lot of reasons, one being you can send to sats you don’t control
  • @B0BSmith #5839 06:04 PM, 16 Jan 2024
    i expect ords have been lost due to lack of user knowledge - i know people have used p2sh-segwit to buy from dispenser and its a pain in the butt but you can get it back using op return tools from JPJA
  • @B0BSmith #5840 06:05 PM, 16 Jan 2024
    you hear dotn use a 3address - which is poor advise as p2sh 3 addresses are fine
  • @B0BSmith #5841 06:05 PM, 16 Jan 2024
    so are the segwit type if you know how to drive them
  • @B0BSmith #5842 06:06 PM, 16 Jan 2024
    can taproot do a op return? i expect it can yet users are adivsed to not use for dispenses
  • @hodlencoinfield #5843 06:09 PM, 16 Jan 2024
    Counterparty doesn’t recognize taproot addresses
  • @B0BSmith #5844 06:10 PM, 16 Jan 2024
    understood re taproot but the 3address thing my point stands - they work fine we just lack wallet and or api support and user education on the various 3address types
  • TheStampWallet.com has implemented 3address support.
  • @B0BSmith #5846 06:14 PM, 16 Jan 2024
    p2sh multisig and wrapped segwit ?
  • Hmm… don’t know it well enough to say.
  • @B0BSmith #5848 06:15 PM, 16 Jan 2024
    i expect just the latter
  • @B0BSmith #5849 06:16 PM, 16 Jan 2024
    counterparty cant know if its p2sh or p2sh-wrapped segwit from just the address it would need to see redeemScript
  • @herpenstein #5850 06:30 PM, 16 Jan 2024
    I think there advantages to both the sat and utxo methods for achieving psbts.

    For thé sat method, once it’s moved you don’t need another cp tx to transfer it. Ordinals aware infrastructure can very easily implement tracking these. When you want it back in your cp wallet you unbind it and your good. A disadvantage would be this also requires cp to track all sats like ordinals does.

    For a utxo based method, the implementation could be very simple. In the send function the utxo to attach the asset to is identified. Then to move that asset to another utxo or another wallet another send function is needed. This type of implementation would be simple as no new functions or additional indexing is needed. The drawback is a user can accidentally burn their asset by spending the utxo without a cp send. This can be mitigated with a function that allows a user to redeem an accidentally spent utxo by proving the tx it was spent in didn’t contain a send
  • @herpenstein #5851 06:32 PM, 16 Jan 2024
    I think either is a good option, probably needs more pro/con discussion
  • @B0BSmith #5852 06:33 PM, 16 Jan 2024
    Both ordinals infrastructre and or counterparty infra needs a tx to move a asset ... so if counterparty allows ord infra transfers it will need tracking by cp incase a counterparty infra method is used later
  • Yeah, I agree. perhaps my wording could have been better. I meant a cp transaction. If the asset is in a sat then the tx to send it doesn’t need to be a cp tx, just the tx to bring it back into a cp wallet
  • @herpenstein #5854 06:38 PM, 16 Jan 2024
    I haven’t looked into the sat tracking overhead. I get the idea in concept but haven’t explored how it is practically implemented
  • @uanbtc #5855 06:50 PM, 16 Jan 2024
    Practically, it can only be implemented by selecting a subset of transactions.

    Tracking every single sat of every transaction is a many terabytes (or even more) I heard Casey mention once. And it would be resource intensive. And each day becoming harder as the sat ranges break up and get mixed…
  • @6370143984 #5856 06:52 PM, 16 Jan 2024
    'sat ranges' in this case means tracking sats across utxos?
  • @uanbtc #5857 06:52 PM, 16 Jan 2024
    I would let ord be ord, and cntrprty is separate. Maybe utxo can make sense for special stuff though…
  • @uanbtc ↶ Reply to #5856 #5858 06:53 PM, 16 Jan 2024
    Yeah is the abstraction they use. An optimization instead of literally tracking every single sat atomically
  • @jp_janssen #5859 06:54 PM, 16 Jan 2024
    Thoughts on atomic swaps?
    https://github.com/CounterpartyXCP/cips/discussions/100
    Atomic Swaps: Advancing Decentralized Asset Exchange and Trust Minimization · CounterpartyXCP/Forum · Discussion #100

    Introduction: Atomic swaps enable direct peer-to-peer asset exchange between Bitcoin and Counterparty assets without the need for intermediaries or trusted third parties. They utilize Hash Time Loc...

  • @6370143984 ↶ Reply to #5859 #5860 06:56 PM, 16 Jan 2024
    is the hash locking done out-of-band?
  • Requires multiple transactions
  • @6370143984 #5862 06:57 PM, 16 Jan 2024
    the 'time constraints' provision seems to imply that it's trustless but not riskless.
  • If a both users don’t finalize the tx in the set time, either party can wind up with both assets
  • @6370143984 #5864 06:58 PM, 16 Jan 2024
    yep okay that's what i thought.
  • @herpenstein #5865 06:58 PM, 16 Jan 2024
    I should have said one party can wind up with both
  • @6370143984 #5866 06:59 PM, 16 Jan 2024
    so yeah, looks like three different things: multi-transaction, hash locks are shared out of band (??? is that right), and time constraints means that one party can end up with both assets.
  • @Jpcryptos ↶ Reply to #5859 #5867 07:00 PM, 16 Jan 2024
    requires 2 tx, and need offchain to exchange address first.
  • @6370143984 #5868 07:01 PM, 16 Jan 2024
    if we're requiring out-of-band communication anyway it seems like something similar can be achieved in a single tx with multisig.
  • @6370143984 #5869 07:02 PM, 16 Jan 2024
    (which unless I'm mistaken could be executed in a single tx without risk and trustlessly)
  • @6370143984 #5870 07:04 PM, 16 Jan 2024
    it wouldn't be fancy and natively would be clunky, but a good UI could paper over that.
  • @herpenstein #5871 07:04 PM, 16 Jan 2024
    Since cp assets are a metaprotocol, they can’t use layer 1 rules to ensure deterministic transfers in less than 2 transactions
  • @herpenstein #5872 07:05 PM, 16 Jan 2024
    Any transfer can be front run rending the slower one invalid.
  • @herpenstein #5873 07:05 PM, 16 Jan 2024
    The asset needs to be tied to layer1 rules to use layer1 security guarantees
  • i ran satindex for a while it is certainly not terrabytes
  • @hodlencoinfield #5875 07:07 PM, 16 Jan 2024
    but it is a lot of overhead, like 200gb-ish
  • @hodlencoinfield #5877 07:08 PM, 16 Jan 2024
    it is fast tho, i had a simple python script that used ord to ID the sat in op_return for the transfer back to counterparty
  • @6370143984 #5878 07:08 PM, 16 Jan 2024
    I think I see what you're saying. If I were to construct a bitcoin script that would e.g. transfer XCP from Address A to Address B and transfer BTC from Address B to Address A, and both parties signed that out of band, A could theoretically front-run the transaction with another tx transferring the XCP to another address in his possession (e.g.)
  • @hodlencoinfield #5879 07:08 PM, 16 Jan 2024
    the issue i ran into at the time was ord db getting corrupted on reorg
  • @6370143984 ↶ Reply to #5878 #5880 07:09 PM, 16 Jan 2024
    @herpenstein is this the attack vector?
  • @hodlencoinfield #5881 07:09 PM, 16 Jan 2024
    you could front run it yoursef
  • @6370143984 #5882 07:10 PM, 16 Jan 2024
    yep that's what I meant 👍
  • @hodlencoinfield #5883 07:10 PM, 16 Jan 2024
    and you could do it with different utxos
  • @hodlencoinfield #5884 07:11 PM, 16 Jan 2024
    thats the crux of it, since the counterparty balance is abstracted to an address layer you dont get the benefit of double spend protection
  • @herpenstein #5885 07:12 PM, 16 Jan 2024
    In any case it always takes 2 transactions to move a cp asset into a format to use l1 security guarantees.

    with the psbt or sat methods, the first tx is simple and done without a countparty
  • @B0BSmith ↶ Reply to #5885 #5886 07:13 PM, 16 Jan 2024
    p2sh only needs 1 tx to move asset to get colab custody according to L1
  • @herpenstein #5887 07:13 PM, 16 Jan 2024
    For the end user it’s: Press button, asset is now in a sellable format, press another button, asset is for sale and anyone can buy it
  • @uanbtc ↶ Reply to #5874 #5888 07:14 PM, 16 Jan 2024
    Well but this is only tracking the sats for ‘ord’ enveloped taproot transactions, right? Is a very small subset of every single sat of every transaction…
  • Can you elaborate?
  • @B0BSmith #5890 07:14 PM, 16 Jan 2024
    send asset to a 2of3
  • @B0BSmith #5891 07:14 PM, 16 Jan 2024
    1 tx
  • @B0BSmith #5892 07:14 PM, 16 Jan 2024
    now 2 of 3 needed to move it again
  • But you have to know your counterparty
  • @B0BSmith #5894 07:15 PM, 16 Jan 2024
    lol indeed
  • @herpenstein #5895 07:16 PM, 16 Jan 2024
    So if I’m a normie selling my monkey picture, I put it up for sale, someone clicks buy and then I have to log back in to make a multisig?
  • @B0BSmith #5896 07:16 PM, 16 Jan 2024
    You could be all the sigs in a multisig if you wanted - 1 tx to upgrade from a 1/1 to a 2/3
  • @B0BSmith #5897 07:18 PM, 16 Jan 2024
    you get the added security of a 2/3 with just a single tx from a single sig. You need to know your op_returns to spend it. You may not know all the counterparties in the multisig either
  • @B0BSmith ↶ Reply to #5895 #5898 07:20 PM, 16 Jan 2024
    I was thinking of a brokered multisig application where buyer and seller may not k ow each other
  • Gotcha okay that makes sense
  • @B0BSmith #5900 07:21 PM, 16 Jan 2024
    they may know each others pubkeys only
  • @B0BSmith #5901 07:22 PM, 16 Jan 2024
    they don't even need go know what each other is paying or selling price is but will find out when it's setteled
  • @herpenstein #5902 07:22 PM, 16 Jan 2024
    With a broker handling a sale something like that makes sense
  • @B0BSmith #5903 07:23 PM, 16 Jan 2024
    yeah each party knows at least one other but not all parties
  • @6370143984 #5904 07:23 PM, 16 Jan 2024
    bob, have you written this out in longform somewhere?
  • @herpenstein #5905 07:23 PM, 16 Jan 2024
    I’m trying to see if we can figure out a simple way to put cp on a competitive footing with ordinals
  • @B0BSmith ↶ Reply to #5904 #5906 07:24 PM, 16 Jan 2024
    no mostly just the code to implement it
  • @B0BSmith #5907 07:24 PM, 16 Jan 2024
    I drew some flowcharts on a whiteboard to help me not forget stuff
  • @B0BSmith #5908 07:25 PM, 16 Jan 2024
    figured i would build and then anyone can see the code as its mostly clientside js .. could hide tx creation behind a python tho
  • @uanbtc #5909 07:26 PM, 16 Jan 2024
    Who is a frontend dev here?? Would like to know your thoughts: https://github.com/CNTRPRTY/xcpdev-ssr/issues/1
    Web server stack · Issue #1 · CNTRPRTY/xcpdev-ssr

    This is the place to discuss the alternatives to implement the server (side) rendered version of xcpdev. The main requirement is having FULL control of the server. This IS the software being build,...

  • @6370143984 #5910 07:27 PM, 16 Jan 2024
    @robbyrbd can do it all.
  • @B0BSmith ↶ Reply to #5905 #5911 07:31 PM, 16 Jan 2024
    I was trying to help people not get scammed by using a multisig
  • What ur looking for ‘universal’ or ‘isomorphic’ SSR apps - you could go the angular route for this but most will be familiar with react methods - this next.js I have no personal experience with but have looked into and should, so long as you have a node js server it will be able to do the SSR for content if used right, if you aren’t keen on that what people used to do in place. I’m sure there are other methods for react SSR too but I think nextJS is currently most popular for this
  • @B0BSmith #5913 07:32 PM, 16 Jan 2024
    of course its not perfect - broker reputation is part of it as it is in broker interest to not scam
  • @Jpcryptos ↶ Reply to #5912 #5914 07:32 PM, 16 Jan 2024
    I recommend vue3 has SSR and the learning curve is lower than react or angular.
  • @IndelibleTrade #5915 07:33 PM, 16 Jan 2024
    What would be cool on the sever side is perhaps a socket.io push stream of counterparty messages - could enable some for tenders to do some cool stuffs
  • @B0BSmith #5916 07:33 PM, 16 Jan 2024
    zmq?
  • nope, it will give you sat tracking for any output
  • Err maybe - like pushing event objects to subscriber groups on the FE client
  • @6370143984 #5919 07:34 PM, 16 Jan 2024
    can only speak to frontend framework from a hiring/resourcing perspective: it seems like industry has kind of settled on react (famous last words), so if your goal is maximizing the number of folks who can contribute that may be worth considering.
  • @hodlencoinfield #5920 07:34 PM, 16 Jan 2024
    because the method for returning to counterparty is burning that single sat in an op_return output then the range is a single sat
  • It’s very cheap as it’s one message stream and can serve a lot of listeners for little overheads
  • @B0BSmith ↶ Reply to #5920 #5922 07:34 PM, 16 Jan 2024
    you did this - its on chain right?
  • @hodlencoinfield #5923 07:35 PM, 16 Jan 2024
    yes, i did it as performance art lol
  • @hodlencoinfield #5924 07:35 PM, 16 Jan 2024
    i’ll find the tx
  • @B0BSmith #5925 07:36 PM, 16 Jan 2024
    i have seen the api command to burn btc in op_return
  • @B0BSmith ↶ Reply to #5923 #5926 07:36 PM, 16 Jan 2024
    i spent a stamp for the same reason
  • @hodlencoinfield #5927 07:36 PM, 16 Jan 2024
    J Loone Brickens 🧱 (@wasthatawolf) on X

    Yo dawg, I heard you like teleburns. You can now teleburn your ordinals via Counterparty asset issuance.

  • @B0BSmith #5928 07:41 PM, 16 Jan 2024
    so 1 ord sat can become 100000000 ordteleburn counterparty 'sats'
  • @hodlencoinfield #5929 07:46 PM, 16 Jan 2024
    yep
  • @XJA77 ↶ Reply to #5688 #5930 07:47 PM, 16 Jan 2024
    This is how works in ordinals bc you are transferring SATs but here you could add an end block in the op return teorically where the offer ends right?
  • @B0BSmith ↶ Reply to #5929 #5931 07:48 PM, 16 Jan 2024
    nice - so ords can be fractionalised like the naka was but without using eth
  • @B0BSmith #5932 07:51 PM, 16 Jan 2024
    I guess you can destroy a cp asset into a ord ?
  • @uanbtc ↶ Reply to #5912 #5933 07:51 PM, 16 Jan 2024
    Would you recommend adding angular to the list of alternatives to consider??
  • @B0BSmith #5934 07:52 PM, 16 Jan 2024
    little bit of dust change with a burn address and you got a cp asset to and ord and then back again to fractionalised ord on cp
  • @IndelibleTrade #5935 07:53 PM, 16 Jan 2024
    React kinda won market share in that battle, but if you like to run a tight ship angular with TS is for sure an option I would worry that maybe it’s overcomplicated at times, react a bit more suited to letting people hit the ground running when entering a project
  • @uanbtc ↶ Reply to #5915 #5936 07:53 PM, 16 Jan 2024
    Maybe for a next phase, not doing real-time mempool just to keep the core simple. But maybe something to consider for memepool.wtf ??
  • @IndelibleTrade #5937 07:54 PM, 16 Jan 2024
    I was running angular front end with a nestJS server which was kinda cool as nestJS has a lot of angularesqueness to it
  • @uanbtc ↶ Reply to #5917 #5938 07:55 PM, 16 Jan 2024
    Oh in your wallet then? I remember I checked very early on so maybe is something they were able to optimize…?
  • Yeh would be a ‘nice to have’ that allows for experimental fun, but also can assist with things like real-time updates on the front end - you are getting to offset polling functions for an event listener which is pretty dope
  • @uanbtc ↶ Reply to #5935 #5940 07:57 PM, 16 Jan 2024
    Yeah I’m in the react camp, sorry for angular then lol
  • Oh wow. This is an additional modification to the trx after you create the cp trx from the API I suspect. Will be curious to do on bitcoin core for sure
  • Ehehehe
  • @6370143984 ↶ Reply to #5748 #5943 07:58 PM, 16 Jan 2024
    Love this @jp_janssen !
  • Yep right in ord using the —satindex flag
  • @uanbtc ↶ Reply to #5938 #5945 08:00 PM, 16 Jan 2024
    Oh I realize we are just talking about the sat ranges. Yeah that is not too bad… for now lol
  • @XJA77 ↶ Reply to #5930 #5946 08:01 PM, 16 Jan 2024
    And you could maybe still using account base for reception so you bind to the utxo in the list/send and unbind when you receive it automatically
  • @Jpcryptos #5947 09:08 PM, 16 Jan 2024
    These days I have been reading the xcp.dev code and the the jp tools. However, is there any doc or guide on how to start deserializing a tx to detect if it is a CP transaction?
  • @Jpcryptos #5948 09:08 PM, 16 Jan 2024
    I'd be really grateful.
  • @B0BSmith #5949 09:10 PM, 16 Jan 2024
    Electrum-Counterparty/decode_tx.html at master · Jpja/Electrum-Counterparty

    Generate OP_RETURN for sending Counterparty tokens from Electrum - Jpja/Electrum-Counterparty

  • @B0BSmith #5950 09:13 PM, 16 Jan 2024
    that's the best tool to help .. the txid is used to decode the countrrparty message inside the tx line 141
  • @6370143984 #5951 10:46 PM, 16 Jan 2024
    most of you quite reasonably are not in the main dumpster fire chat so I just wanted to share a somewhat off-topic message I posted there in reply to some pretty stubborn trolls: https://t.me/Counterparty_XCP/228323
    Periwig Reascends in Official Counterparty Chat

    I think a lot of people don't know how difficult it is to get a dev culture around a project like Counterparty - no funding and no premine. Before Ethereum almost all dev talent was focused on Bitcoin. I'm super thankful that there's a healthy dev culture around Counterparty and appreciate everyone who's a part of it!

  • @6370143984 #5952 10:46 PM, 16 Jan 2024
    TLDR appreciate all the devs working on Counterparty. Thanks!