# Can I use pybtctool with counterpartyd to sign a transaction?

**URL:** <https://forums.counterparty.io/t/can-i-use-pybtctool-with-counterpartyd-to-sign-a-transaction/1209>\
**Category:** FAQ\
**Created:** [May 23, 2015, 10:57am UTC](https://forums.counterparty.io/t/can-i-use-pybtctool-with-counterpartyd-to-sign-a-transaction/1209 "2015-05-23T10:57:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [May 23, 2015, 10:57am UTC](https://forums.counterparty.io/t/can-i-use-pybtctool-with-counterpartyd-to-sign-a-transaction/1209/1 "2015-05-23T10:57:17Z")

</div>

Yes, but it may not work for some particular transactions (maybe because of a bug in pybtctool), when the address isn’t in the local instance of Bitcoin Core.

The transaction should be signed manually (e.g. with the pybtc CLI tool, or any other way - for example using another utility such as [https://github.com/lian/bitcoin-ruby](https://github.com/lian/bitcoin-ruby) (for Ruby developers)).

One tool that’s been reported to work well is bitcoinjs-lib.

**Reference**

- [https://github.com/CounterpartyXCP/counterpartyd/issues/182](https://github.com/CounterpartyXCP/counterpartyd/issues/182)
