counterpartyxcp / documentation Goto Github PK
View Code? Open in Web Editor NEWOfficial Documentation of the Counterparty Project
Home Page: http://counterparty.io
License: MIT License
Official Documentation of the Counterparty Project
Home Page: http://counterparty.io
License: MIT License
There is no explanation on how to run against an existing bitcoin install. I tried to find in the configuration a place where I can avoid launching another bitcoind but I could not find it.
Any clue would be most welcome.
Thanks
Here's a few issues I ran into and what I had to do to resolve them:
The docs say:
mkdir ~/.local/share/counterparty-docker-data
This is only accurate if you're not overriding COUNTERPARTY_DOCKER_DATA
.
In that case you have to do:
mkdir $COUNTERPARTY_DOCKER_DATA/counterparty-docker-data
I know that doesn't follow the same parent path, but for me, it was complaining that
/home/vectorconfetti/storage/counterparty-docker-data
didn't exist when I set $COUNTERPARTY_DOCKER_DATA to /home/vectorconfetti/storage
There's also a typo:
COUNTERPARTY_DOCKER_DATA=/var/data docker compose up -d
should be
COUNTERPARTY_DOCKER_DATA=/var/data docker compose --profile mainnet up -d
I was also getting permissions errors running as an unprivileged user trying to connect to
unix:///var/run/docker.sock:
and this worked:
sudo setfacl --modify user:$USER:rw /var/run/docker.sock
I also had docker installed as root so I had to do this:
sudo chown -R vectorconfetti:vectorconfetti /var/lib/docker/volumes/
or maybe it would have been enough to do just this, not sure:
sudo chown -R vectorconfetti:vectorconfetti /var/lib/docker/volumes/counterparty-core_data
The link at https://counterparty.io/docs/api/#subassets that is pointing to protocol_specification.md is broken.
The docs point to https://counterparty.io/Developers/protocol_specification.md#assets but that's 404
"By default, counterblock will listen on port 4001 for API requests. " => this comes from https://github.com/CounterpartyXCP/Documentation/blob/master/Developers/counterblock_API.md
It should be 4100 and not 4001 I think.
The link for the "Microsoft Visual C++ 2008 Redistributable Package (x86)" is invalid
The exchange integration docs should be updated to include MPMA , as that will reduce the operational cost on exchanges and allow for batching sends in a single transaction.
http://counterparty.io/platform/
http://counterparty.io/why-counterparty/
http://counterparty.io/get-started/
Mentions of Counterwallet, Support, Coinmarketcap, etc. should probably link to their corresponding destination. (Obviously not all mentions, but it wouldn't hurt to have more clickthrough opportunities.)
See CounterpartyXCP/counterparty-cli#114
parser_send.add_argument('--memo', help='A transaction memo attached to this send')
parser_send.add_argument('--memo-is-hex', action='store_true', default=False, help='Whether to interpret memo as a hexadecimal value')
parser_send.add_argument('--no-use-enhanced-send', action='store_false', dest="use_enhanced_send", default=True, help='If set to false, compose a non-enhanced send with a bitcoin dust output')
'send': ['source', 'destination', 'asset', 'quantity', 'memo', 'memo_is_hex', 'use_enhanced_send'],
The pubkey
parameter is not mentioned in various API commands.
Currently mentions only 0.5 XCP named assets:
http://counterparty.io/get-started/
http://counterparty.io/why-counterparty/
In the section "create a custom token" (get started), the tutorial doesn't mention numeric assets, and states that asset names can be up to 14 characters long. (It's now 12, I believe.)
Also my proposed wording would be that assets are always free, but having a name is what costs 0.5 XCP.
https://counterparty.io/docs/api/ shows the credentials as rpc:1234, in reality the docker container has the defaults rpc:rpc.
It's been dead for 7 days.
There's a second semi-official site, http://indy.fulgan.com/SSL/, but the files are zipped and need to be uncompressed and installed manually (may require documentation updates).
List of "semi-official" sites with binary builds can be found at https://www.openssl.org/about/binaries.html
There's an unofficial location with binaries, but I can't tell whether they were copied from SLProWeb.com or built by these guys since slproweb.com is down.
http://code.x2go.org/releases/binary-win32/3rd-party/Win32OpenSSL/?C=M;O=D
"coutnerparty"
"For examples of filtering in-use, please see the examples." => link to Examples doesn't work, but I'm not sure if it's supposed to work.
Where: http://counterparty.io/docs/api/
dust_return_pubkey
option now works with both multisig
and p2sh
encoding formats... need to update docs to match code.
The key is that Counterparty is a deterministic state machine.
First confirm it's implemented
I would consider this very low priority...
Protocol Specification states, "Asset descriptions may be of arbitrary length." However, it appears, at least when using Counterwallet, that 40 bytes is the limit for a description.
I have seen discussion online about 80 bytes being possible, depending on OP_RETURN settings.
This page states: https://counterparty.io/docs/api/ 52 bytes is the max.
There are also asset descriptions in the wild like: https://res.indiesquare.me/json/A2106870093763980398.json which are 57 bytes.
Perhaps, this part of the documentation can be clarified by someone who knows more than I do.
This is specifically about the description in an issuance, and not an enhanced asset info description which is 2048 chars max.
get_tx_info
unpack
Moved from CounterpartyXCP/counterparty-core#716
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.