how to lock an asset ? what is the counterpartyd.py command ?
You can lock an asset via the dogeparty wallet. You can issue a token and by locking it no more can be issued.
the counterpartyd.py command is basically “dogepartyd". since dogepartyd is so new, and since it is based on/cloned from counterparty, not everything has been updated to replace “counterparty” with “dogeparty”
you can have a look at:
https://github.com/Dogeparty/dogepartydi have it from GIT and working
created an asset (soon more details about it purpose - related to science
)
just looking for command line to lock it
It seems like to lock an asset you do an issuance with ‘LOCK’ as the description.
parser_issuance.add_argument('--description', type=str, required=True, help='a description of the asset (set to ‘LOCK’ to lock against further issuances with non‐zero quantitys)').
so it would probably look something like this:
# Issue Divisible Asset
dogepartyd issuance --source=DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1 --asset=DOGEPARTYTIP --description="LOCK" --divisible
# Lock NON-Divisible asset
dogepartyd issuance --source=DKS27K7w1trFpSYFU2kLaWPjDKfHF7guC1 --asset=DOGEPARTYTIP --description="LOCK"
Haven't tried to lock myself via command line though, so not 100% sure about accuracy.