- 01 September 2022 (45 messages)
-
FYI... I just merged some updates to the CIP repo... CIP24 is now included in the CIP repo, and CIP 3, 19, 23, and 24 have had their status updated to "Active" https://github.com/CounterpartyXCP/cipsGitHub - CounterpartyXCP/cips: Counterparty Improvement Proposals
Counterparty Improvement Proposals. Contribute to CounterpartyXCP/cips development by creating an account on GitHub.
-
-
not dangerous, just not maintained anymore
-
-
-
the reason I stopped supporting it was because its written in an older toolkit (Sencha Touch) and I am not a fan of having to write apps for the android and iOS stores and jumping through all the hoops necessary to get an app listed in the app/play stores.... I think my time is better spent writing a better mobile wallet which will run in the browser and mobile devices (its still on my todo list... a ways down the list) :)
-
-
-
yeah... counterwallet can work on mobile, but it is less than ideal... and counterwallet relies on counterblock, which goes down for a few minutes each time a block is mined (CP has to parse the transactions, then counterblock has to parse in the txs)... the entire time, counterwallet doesn't work..... counterwallet is old/outdated and should be replaced... just a matter of finding the time to write a replacement 🙂
-
-
Hello! I have an announcement!
Since I’ve been learning and admiring Counterparty, I decided I was going build something on it. I had an idea of what to build, but then @jp_janssen shared this: https://jpjanssen.com/timeline/counterparty.html?asset=SEBUH
His timeline project confirmed my vision, is possible (and natural!) for assets to show their events history… -
Today I am (early) releasing https://bitST.ART
I would really appreciate your feedback, as you are the first group to ever know about the public release of the website.bitSTARTDiscover Bitcoin Art [Counterparty / Ordinals / NFTs]
-
-
-
Nice! My satoshinft single satoshis NFT made the list❤️👍🏻
-
-
-
-
The person who created TEST wishes to remain anonymous for now. I am aware of who they are, and I respect their wish, and cannot/will not disclose who it is.
-
But of course…
-
🤓
-
-
Timely
-
-
-
-
-
Activation block for CIP03 and CIP24 on mainnet is block # 753,500
-
Once active make sure you have the latest version of freewallet desktop
-
-
nope, a lil less than 2 weeks
-
-
-
as long as the owner is in control of 100% of the supply in the issuing address, and the supply has not been locked, then YES, you can reset token divisibility and supply
-
-
there is an example 'reset' transaction on testnet.... you can see that the existing supply of 1 was destroyed, and then 100.00000000 was issued 🙂
-
You can also issue, lock, and transfer asset ownership in a single tx now... and you can reset / lock in the same tx as well 🙂
-
-
-
good thing you asked 🙂 a LOCK is permanent.
-
Left.
-
Welcome to Counterparty Dev Chat. This room is primarily for developers who are building, or are interested in building projects on Counterparty. Counterparty is a protocol to create tokens and NFTs on Bitcoin (BTC).
Below are some helpful links to help get you started. If you have any development related questions, please feel free to ask them here.
Official Website
- https://counterparty.io/
Official Counterparty Telegram
- https://t.me/Counterparty_XCP
Official Github Discussions
- https://github.com/CounterpartyXCP/cips/discussions
Counterparty Improvement Proposals (CIPS)
- https://github.com/CounterpartyXCP/cips
Content Policy
- https://github.com/CounterpartyXCP/Documentation/blob/master/Counterparty_Content_Policy.md
Counterparty Github Repo
- https://github.com/CounterpartyXCP/
Setting up a Federated Node (fednode)
- https://docs.counterparty.io/docs/advanced/federated-node/getting-started
Counterparty Documentation
- https://docs.counterparty.io/
XChain API Documentation
- https://xchain.io/apiOfficial Counterparty ChatWebsite — https://counterparty.io Docs — https://docs.counterparty.io GitHub — https://github.com/CounterpartyXCP/counterparty-core Twitter — @CounterpartyXCP
-
None
-
omg to this day i was never anxious for a block to come xD
-
- 02 September 2022 (25 messages)
-
Nice work! I see it updates continuously. Do you run your own node?
-
-
I hope to be able to say this in the next month, been crying wolf for way to long...
-
-
-
-
-
-
-
-
-
-
only if you possess 100% of the supply
-
-
-
-
-
send all supply to you.. then you can reset in another week or so after CIP03 activates on block 753,500
-
-
-
-
no, that is not correct... it just shows he transferred ownership to you and did not issue additional supply in that one issuance
-
-
-
- 03 September 2022 (16 messages)
-
-
-
It's not a dispenser then, it's the decentralized exchange
-
-
-
-
-
-
In freewallet, exchange Tab -> Type the pair ASSETA/ASSETB in the search and click in the green search button. Then create the sell/buy order you want
-
-
-
I didn't knew that trick either ^^
-
So hidden in plain sight
-
-
-
- 04 September 2022 (16 messages)
-
add market just adds a token to monitor for... it doesn't add a market pair... to do that, you need to manually navigate to the market via the asset1/asset2 search and click the green search icon... then place matching buy/sell orders...once a trade executes on a market, then that market will start showing up in freewallet (for instance, MOULACOIN/XCP would show up in the "XCP" tab)
-
-
-
-
Does anyone know how to reverse an asset to make it not divisible with FreeWallet ?
-
-
-
Oh ok
-
Thanks
-
Gotta wait a week til cip03 activates, then u can “reset” supply to divisible or non-divisible
-
@jdogresorg this is possible though?
-
You can not change divisibility until after cip03 activates…. But u can destroy existing supply and reissue supply, but can’t change divisibility for another week or so
-
Cip3 activates at block 753500
-
(Don’t take this personal, I’m just referring to the use case)
Do you think this is a positive feature for a supposedly eternal blockchain? CIP3 will now allow all these kinds of mistakes to be done, BUT these mistakes will NEVER be deleted. These will always be part of an asset’s history
Why not improve the behavior of users (https://github.com/jotapea/cips/blob/cip13/cip-0013.md) instead of allowing the misbehavior?
Is there anyone else in this group that agrees with me??? 😂cips/cip-0013.md at cip13 · jotapea/cipsCounterparty Improvement Proposals. Contribute to jotapea/cips development by creating an account on GitHub.
-
I see your logic but try exploring the osi model and understand that BTC is layer 1 and XCP is layer 2…
-
I see the model. Maybe it applies in a way, but CP is not a second layer like Lightning. CP is about messages written in Layer 1. Each transaction in CP specifies a block. It is an application directly on layer 1 from my perspective.
And this is my biggest concern. Bitcoiners care A LOT about the use of the blockspace. Most of you must have had the experience of speaking with a Bitcoiner about CP and “NFTs” on Bitcoin and they roll their eyes 😒
CIP3 doesn’t help the cause - 05 September 2022 (44 messages)
-
I guarantee you any bitcoin maxi rolling their eyes at CP doesn’t give a fuck about cip3
-
And this is not my biggest problem with CIP3. I believe that adding the word “reset” to anything related to Bitcoin is horrible. It damages the Counterparty brand to the soul
-
Which Counterparty projects and communities are you involved with? Is this what the others in those projects are saying or are these just your own thoughts regarding CIP3? I’m just curious where the opposition is coming from to better understand it.
-
Is my personal opinion. And I’ve also had feedback from Bitcoiner friends. I have been building on Counterparty for the last couple of months, and believe its potential is huge. And I also believe it needs to gain the approval of Bitcoiners to reach this potential
-
Can you share what you've built? Would be dope to see.
-
Yeah sure! Is still in super alpha, but I am very pumped for the next update coming soon: https://bitst.artbitSTART
Discover Bitcoin Art [Counterparty / Ordinals / NFTs]
-
I think we must not fall into maximalisms, resetting the supply of an xcp token is a remarkable tool for creators
-
-
Hi .. I don't know if it's a bug or me who doesn't know how to use the DEX ?
I made a token : A13580517208786048969
I want to make a dex order so people can only buy this token with another token : MOULACOIN !
I make a SELL order of 100 of my token at 1000 MOULACOIN each .. -
-
-
-
-
-
That happens with unconfirmed txs I believe
-
Once it’s confirmed should look fine, xchain doesn’t check divisibility for unconfirmed
-
Wouldn't the reverse happen if that were the case?
I think they put in 100 sats as a quantity and the asset was divisible. -
-
-
Right. The asset you're putting up is divisible. You'll need to multiple my 100,000,000 when putting up an order.
-
-
-
-
-
True I only glanced at it and noticed it was unconfirmed
-
hooo .. that's it ! ok . thank you
-
-
-
-
No
-
-
What's more about RGB?
-
Keep in mind lightning only works with tokens that are liquid, NFTs are generally not so the hype around NFTs on LN is a mostly false
-
-
-
It's more about tokenization, which is interesting for stablecoin
-
-
-
-
-
-
-
-
Ok, I’ll look into it and get it fixed in the next release
- 06 September 2022 (2 messages)
-
-
- 07 September 2022 (6 messages)
-
-
You can try it, tho block parsing can take a while, so you might lag behind considerably at times
-
I think there is already an issue open for this.... might be separate issue but I believe it is related to me needing to make some updates to the DEX to support subassets... I think it may be pulling the main asset info instead of the subasset (confirmed cuz when you use the numeric asset name, all seems to work fine... only have issues with using the subasset name)
-
anyway... if you could be so kind as to update this github issue with your screenshot and notes, it would be greatly appreciated
-
cannot sell non-divisible subassets on DEX · Issue #89 · jdogresorg/freewallet-desktop
Can't sell non-integer subassets.
-
Please create a github issue for this item as well and i'll look into it
- 08 September 2022 (63 messages)
-
Joined.
-
Left.
-
-
-
I assume most of you are also in the Official Counterparty Chat. Yesterday I released the new update to bitSTART. Now the address view auto-plays all their art!
Would appreciate any feedback 😊
https://bitst.artbitSTARTDiscover Bitcoin Art [Counterparty / Ordinals / NFTs]
-
Does dankset doits own block parsing?
-
reason i ask is because there seems to be a discrepancy between dankset and xchain of who owns a particular asset
-
-
-
-
-
-
DIRECTORYTWO
-
on dankset it shows as me
-
but on xchain it shows as someone else
-
i didnt make that image
-
I think someone turned everything off. I created an asset and the transaction is no longer viewable on xchain
-
-
-
No new assets in 2 hours
-
yeh a recent asset i made has not showed up
-
-
like a hour ago
-
-
yh spec so
-
-
Yeah, J-Dog is probably doing something while we all chit chat
-
-
just odd how two systems parsing blocks reached different conclusions (assuming DS does parse blocks)
-
Are you in the Dankset Telegram? You could ask in there. It's Dim's site
-
yeah good shout
-
The last asset to be shown created is called BLEUSCREEN which is kinda funny. I think that broke it
-
lol
-
yh
-
my recent asset shows on Dankset but not on xchain
-
I bet Dankset didn't consider the invalid status?
-
ah
-
that could be it
-
while Regan is breaking things
-
I wanted to ask a quick question as the new kid in the neighbourhood
-
-
-
-
-
-
so I am finally starting to dig a bit more, and remembered going through this some time ago:
-
-
I know that page starts with this
-
but did that happened, or happens somehow?
-
(You see as I'm kind of new still 🥸)
-
VM is being worked on, iirc.
-
-
my starting point is gonna be literally this thread as the before bed reading -> https://bitcointalk.org/index.php?topic=395761.0
-
I hope to find answers, or at least a beautiful story in there
-
but love a good spoiler
-
EVM was ported to CP and was running... but we decided to shelve it and not integrate it into CP because ETH was way too unstable at the time, they had just gone through the DAO fork and ETC had just been created, etc... the founders decided it was not worth risking the entire ecoystem that was built simply to integrate a questionable VM that was clearly having issues.
-
Thanks for the info!
-
I am gonna be trying to catch up, have been wanting to dig in since beginning but never really scratched more than the surface
-
Sounds good. we are all here to help as needed 🙂
-
-
VM = Virtual Machine.... a generic machine where you can write smart contracts and run them... ETH has a turing-complete VM (can loop infinitely)... CP is proposing a non-turing complete VM to limit loops, etc.
-
Proof-of-concept VM Development
So i’ve recently started to develop a minimal pure python Virtual Machine tailored specifically for counterparty. I’m starting this thread to keep note of development and design decisions, and also to get input from the community regarding what should the VM do. FAQ Why not use EVM? EVM was designed with ethereum blocktimes and specifics in mind. CP has already a lot of groundwork regarding tokens, bets and a lot of useful functions that don’t need to be recoded in a smart contract. Isn’t...
-
- 09 September 2022 (36 messages)
-
It seems this tool is no longer working?
-
nevermind... was just getting errors a minute ago, but seems to be up now
-
-
The python code is hosted on a RaspberryPi3 and it queries the blockchain on a RaspberryPi4, so it's not going to be very fast, but it seems to be stable.
I rebooted the box only yesterday, so perhaps you were the first to use over tor after it came back online. -
I see issuer addresses like this: 2_13tSwzr4Bn3buiE69qycViSKwQv3nSvHWq_14tcFF4wh9GKv2CEeP7fAubEvvNMj5qCpQ_1Nnjtb1QKpE74GvaDVBbUKxgZ1ZmQ4UND7_3. Can someone explain to me what this means?
-
Looks like bare multisig
-
for a while counterparty used a multisig format like this, not sure when we stopped using it, but I haven't seen it used in a really long time
-
-
Not sure of where your CSS is but you could consider something like this:
text-overflow: ellipsis; -
-
// Split X_addr1_addr2_addr3_X multisig addresses into a list of addresses
var arr = o.owner.split('_'),
addresses = [];
arr.foreach(function(addr){
if(address.length>1)
addresses.push(addr);
});
console.log(addresses); -
I believe I did something like that on xchain for a while... just splitting the address up and showing the 3 different addresses... might want to do taht as well 🙂
-
we are so near
-
ya... pushing out a freewallet update now.... I messed up in the reset logic and all tokens were being forced to divisible... lol.... divisible = (vals.divisible=='Yes') ? 1 : 0;
-
forgot that critical line to translate value from Yes/No to boolean 0/1 😛
-
facepalm... lol
-
-
who knew... "yes" and "no" both evaluate to 1 😛
-
dumb mistake... but, at least I caught it before anyone else found it 🙂
-
Thanks for the snippet. I could split them, but if these multisig issuances are a super minority I think I will just leave them as is. Is part of the history of CP! And I am glad that wasn’t used much, I like the nature of asset issuances coming from a single address
-
-
I have been building bitSTART for a couple of months, and after some time of building, I learned about CIP3. As I understood its implications, it became evident that it broke the cohesive vision I had for the application, and what I believe Counterparty in Bitcoin is.
As you know I have been trying to make my perspective heard. Then, after realizing I was in the SUPER minority, I knew my only option left was to SHOW my perspective with the (much earlier than planned) launch of https://bitST.ART .
Today I am releasing the newest update (v2022.4: 'All' section added), which evolves the product from an ALPHA to a BETA.
And with this release, I am officially announcing to the Counterparty node operators that I will continue running counterparty-lib v9.59.6 (I was told everyone always upgrade, so this makes me a first??!).
The near future is uncertain... maybe there is a possibility that I also release a CIP3 compatible version (cip3.bitst.art), but the main application will not. Worst case, this is a fantastic learning experience for me, but best case who knows...
To conclude I only ask one thing, PLEASE reconsider one last time the inclusion of CIP3 in the next release. MY TOP CHOICE IS TO AVOID TALKING ABOUT A FORK AT ALL!
My last hope is that with THIS RELEASE of bitSTART, and then re-reading all my arguments (all findable from the following link), my perspective gains more support.
https://counterpartytalk.org/t/cip13-cip3-alternative-divisibility-set-by-defining-the-asset-not-by-reserving-the-name/6420
Thank you for your time and have a great weekend!bitSTARTDiscover Bitcoin Art [Counterparty / Ordinals / NFTs]
-
ty ser Jdog
-
What are you calling your fork?
-
-
i remember dan ran a fork of counterparty for a while out of laziness
-
Like, out of laziness to upgrade node?
-
yep
-
-
-
only really matters if you run a block explorer lol
-
-
Will oracled dispenser sales show up in dispenses all the same?
I guess they will actually.
I just guarantee it'll get stuck on a block and I'll have to upgrade and catch up to blocks I missed. Feel I might as well just upgrade. -
@jdogresorg should be able to point you in the right direction
-
yeah theres alot of downstream effects
-
could get out of consensus very quickly
- 10 September 2022 (24 messages)
-
Counterparty-lib 9.60.0 released! | Counterparty
Today counterparty-lib releases version 9.60.0 which includes a number of bug fixes, updates, and new features including: Removed `callable`,`call_date`, and `call_price` from issuances - [more info] Added support for CIP24 (Oracled Dispensers) - [more info] Added support for CIP03 (Reset Token & Divisibility Statuses) - [more info] Added `tx_index` field in bindings on dispenser close
-
fednode update counterparty counterparty-testnet
fednode rebuild counterparty counterparty-testnet
fednode stop counterparty counterparty-testnet
sudo su
rm -f federatednode/data/counterparty/counterparty.*
exit
fednode start counterparty -
-
Your welcome to keep running 9.59.6.... but it will not recognize the new formats for issuances (added reset, removed callable/call_date/call_price) and dispensers (added oracle_address) and it wont detect valid dispenser payments to oracled dispensers as valid... so, your version is either going to choke on the new txs and die.... or parse them in, but decode them incorrectly and populate the database with incorrect data... in either case, your node is going to be out of consensus prettymuch immediately.... if you want to get your version to support the new issuance format but NOT the CIP03 reset flag, then you prolly have some work to do.
-
Got it. We'll want to publish oracled dispensers so sounds like I'll upgrade.
-
Exactly, you’ll be running an old out of consensus version
-
Can an admin pin this?
-
None
-
Done
-
Probably one of the first tx that reset supply :)
-
second 🙂
-
-
-
TWERK... same asset I am giving away in main CP channel now if you paste your wallet address
-
😛
-
-
-
-
Official Counterparty Chat
Website — https://counterparty.io Docs — https://docs.counterparty.io GitHub — https://github.com/CounterpartyXCP/counterparty-core Twitter — @CounterpartyXCP
-
-
-
-
of course 🙂
-
- 13 September 2022 (4 messages)
-
-
it happens periodically... sometimes CP will go to check the mempool for a tx and it'll be gone... this is just a warning, nothing to concern yourself with... could be tx JUST got mined into a block and was removed from mempool, but not fully parsed in by CP yet.
-
if we fail to lookup an tx in bitcoin mempool, we just throw a warning... parsing continues on no problem 🙂
-
Oo gotcha!, thanks 👌🏽
- 14 September 2022 (54 messages)
-
So... I spent some time today working on a rough draft of an enhanced asset info example... it extends the asset info to include owner info, contact info, social media info, as well as a list of images, audio files, video files, "other" files (docs, pdfs, etc) as well as a "dns" section which should support "normal" DNS style queries and the new "btcdns" style queries
-
If you guys could take a few minutes to look over the examples JSON and let me know if it looks ok, it would be greatly appreciated
-
CIP25 Enhanced Asset Information Specification v2.0.0 Example
CIP25 Enhanced Asset Information Specification v2.0.0 Example - cip25-spec-v2.0.0-example.json
-
Once I get some feedback, I can develop it into a more formal CIP and spec, and write the JSON validations for it so ppl can easily just copy/paste their JSON into a validation tool and get told if their JSON validates or not against the new schema.... and FYI... NONE of the new fields are required, just additional standardized fields which users can include in their JSON if they so choose.
-
-
A suggestion for immutable content: https://counterpartytalk.org/t/immutable-json-cip25/6428Immutable JSON / CIP25
For the upcoming CIP25 (Enhanced Asset Information Spec) I suggest a standard for immutable content. For files, add a sha256 field. Example; "images": [{ "type": "icon", "size": "128x128", "data": "https://domain.com/icon128.png", "sha256": "8031025a667824a188dd5479ca5cb20c5306be06ed01875f7bcc11ecb48251be" },{ "type": "large", "data": "https://domain.com/image_large.png", "sha256": "2bca95eb91e6be1e9ae5b23de5f8373952987f0cdebbd7f6b0d4...
-
Good suggestion…. It not a big deal to support the OPTIONAL field sha256 on images/audio/files 😀👍🏻
-
Also fyi max chars in a description now is 52 not 54
-
For memos in send txs there’s a way to indicate storing data as text or hex, are asset descriptions parsed the same way?
-
no, description is just text.... "memos" and "tags" in destroys can be text or hex AFAIK
-
-
yet for issuances it is just a text string
-
Technical Specification | Counterparty
Read API Function Reference
-
ok got it
-
Agree, should be OPTIONAL. Not all content is necessarily immutable.
-
Just an idea but might not make sense, I have thought that a public, private flag would be helpful if you wanted to mint something but not have it visible on dankset or something else that would honor this field. The issue that I see if that I'm sure a site will be built that would just ignore this but it could be helpful for creators to provide direction to sites that do want to honor a flag.
-
Show me all the private flag tokens. Those are the ones I want to see!
-
How long is this supposed to take? Mine has been re-parsing for a couple of days now and is still in the 500k blocks…
-
All information is public. You could just reserve the name and not put any quantity or description
-
if your re-parsing, then you must not have blown away your database and downloaded the bootstrap... as the bootstrap has the internal version set to 9.60.0, so no reparse is necessary.... the fact that your reparsing tells me your not using the latest bootstrap database
-
run fednode stop counterparty counterparty-testnet then make sure all counterparty.* files are deleted from federatednode/data/counterparty/ directory
-
that is where the database lives
-
rm -f federatednode/data/counterparty/counterparty.*
-
once you have done that and verified that the files have been deleted, THEN go ahead and run fednode start counterparty... which will start up CP which will then proceed to download the bootstrap databases for mainnet/testnet
-
I JUST updated the bootstrap databases right now... so you should only have a few blocks to parse now 🙂
-
I followed these instructions. But the step of ‘rm -f federatednode/data…’ the data folder was already empty, so there was nothing to delete.
And what is the bootstrap db specifically? -
bootstrap database is the internal sqlite database that counterparty uses to store all its data about transactions, assets, etc...... If you do not use the bootstrap, you can look forward to about a month or more of parsing blocks from scratch... reparses take quite a while as well (as your seeing the past few day on your machine)...
-
are you sure you didn't just not have permissions to view the directory?
-
cuz the counterparty.db files are in there..... but, you have to be root to see them
-
and to remove them
-
[jdog@web01:/home/jdog] ls -la federatednode/data/counterparty/
ls: cannot access 'federatednode/data/counterparty/': Permission denied
[jdog@web01:/home/jdog] sudo su
root@web01:/home/jdog# ls -la federatednode/data/counterparty/
total 8743272
drwxr-xr-x 3 root root 4096 Aug 29 15:40 .
drwxr-xr-x 3 root root 4096 May 28 2020 ..
drwxr-xr-x 2 root root 4096 Jan 26 2022 backup
-rw-rw---- 1 root root 7367979008 Sep 14 16:12 counterparty.db
-rw-rw---- 1 root root 32768 Sep 14 16:12 counterparty.db-shm
-rw-rw---- 1 root root 15353232 Sep 14 16:12 counterparty.db-wal
-rw-rw---- 1 root root 1569210368 Sep 14 16:12 counterparty.testnet.db
-rw-rw---- 1 root root 32768 Sep 14 16:12 counterparty.testnet.db-shm
-rw-rw---- 1 root root 465592 Sep 14 16:12 counterparty.testnet.db-wal
root@web01:/home/jdog# -
-
no, the bootstrap has been around for a long time... when you first start up CP, if it detects you don't have a counterparty mainnet or testnet database, then it automatically downloads the bootstrap.... been doing this for many years... otherwise, you would be spending a LONG time parsing txs to build the database from scratch
-
so, you prolly automatically downloaded the database for v.9.59 without even being aware.... if you hadn't, you would definitely be aware of it taking forever to parse 🙂
-
-
the bootstraps are downloaded directly from counterparty.io
-
counterparty-cli/util.py at d54e098acaea91f344cccdb9e93aeb75ef033f42 · CounterpartyXCP/counterparty-cli
Counterparty Protocol Command‐Line Interface. Contribute to CounterpartyXCP/counterparty-cli development by creating an account on GitHub.
-
yes, as I said before, this downloading of the bootstrap database has been taking place for many years, and it is the default action.... otherwise, it would take a long LONG time to parse the data in
-
you can feel free to parse in the data from scratch if you want
-
fednode rollback 278270 counterparty
fednode rollback 310000 counterparty-testnet
fednode start counterparty counterparty-testnet -
that will rollback the CP database to the first block for mainnet/testnet... after that, you just start up counterparty and let it parse... for a month or longer
-
the whole point of the bootstrap is to avoid this unnecessary parsing of the data by every node.... all the transactions in the database are ALREADY parsed from the bitcoin blockchain data, and you can verify everything via a "reparse" if you so choose
-
-
is a reparse faster than rollback and parse?
-
or is that the same thing
-
parse = parse through every block looking for CP transaction
-
reparse = use CP database to verify each transaction in database exists on BTC blockchain and data matches
-
gotcha
-
reparse is definitely faster than a parse 🙂
-
yeah basically the difference is that you can’t be sure a valid tx wasn’t included unless you do a full parse
-
correct
-
-
-
GitHub - jdogresorg/counterparty-json-cache: PHP script that populates a MySQL database with Counterparty JSON data
PHP script that populates a MySQL database with Counterparty JSON data - GitHub - jdogresorg/counterparty-json-cache: PHP script that populates a MySQL database with Counterparty JSON data
- 17 September 2022 (9 messages)
-
Is there any documentation on how to create an raw unsigned transaction to send counterparty assets?
-
that is what the Counterparty API does.... takes API request for action (send, issue, dispenser, etc) and generates an unsigned transaction with the action data encoded in it..... all the end-user has to do is sign with their wallet and broadcast
-
Technical Specification | Counterparty
Read API Function Reference
-
there are the API docs
-
-
there is a sample POSTMAN request... you send a request to the CP API... you get handed back an error or an unsigned tx 🙂
-
Thanks 🙏
-
The counterparty-lib project is the api right?
-
correct
- 19 September 2022 (3 messages)
-
Does counterparty check every transaction output to see if it has counterparty data or does it only check the first output?
-
CP checks for every output until it finds one or more encrypted counterparty data in the form of a OP_RETURN, OP_CHECKSIG or OP_CHECKMULTISIG
-
- 21 September 2022 (1 messages)
-
Hi, i was playing around with some multi output transactions to try and send 2 different assets to 2 different addresses inside 1 tx. When i decode the counterparty output it looks fine. Does someone have any suggestions on what i might be doing wrong?
https://gitlab.com/yannickbuchez/multi-send-xcp-tx - 22 September 2022 (10 messages)
-
we only parse in first OP_RETURN I believe..... so, stuffing a second OP_RETURN into a tx doesn't do the trick
-
to send multiple tokens at the same time, you'll need to use MPMA, which encodes the data using p2sh and 2 transactions.
-
cips/cip-0025.md at master · CounterpartyXCP/cips
Counterparty Improvement Proposals. Contribute to CounterpartyXCP/cips development by creating an account on GitHub.
-
Just formalized the proposed enhanced asset info spec into a CIP 🙂
-
pretty sure more than one op_return would make a tx non-standard which would result in it not getting relayed
-
Ok, thanks for the info i will take a look at it👌
-
Is there a reason why counterparty does not allow transactions to be constructed this way?
-
I have a few comments. Should i post under issues on github?
-
Please post on Counterpartytslk.org thread
-
Enhanced Asset Information Specification
The enhanced asset info spec we have from the founders is good, but is very basic. I have been meaning to write a CIP to extend this asset information to allow for additional information to be specified in a standardized way, but have never got around to it. Now that we are at a point where users are abusing the ‘description’ field on xchain.io and using it to insert audio and video players and other random html, I feel defining the spec is a must. It is clear people want to be able to use a...
- 23 September 2022 (3 messages)
-
Ok. Replied
-
Good suggestions. I’ll update the CIP shortly👍🏻
-
looking at the code, you can have the data distributed in many OP_RETURN inside the same tx. But, that data must be a single valid counterparty transaction. It can be a MPMA, but counterparty only uses p2sh for this