# Error -32000 for importing offline address

**URL:** https://forums.counterparty.io/t/error-32000-for-importing-offline-address/6206
**Category:** Counterwallet
**Created:** [September 4, 2021, 7:21am UTC](https://forums.counterparty.io/t/error-32000-for-importing-offline-address/6206 "2021-09-04T07:21:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![domob](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@domob](https://forums.counterparty.io/u/domob)
#### Post date: [September 4, 2021, 7:21am UTC](https://forums.counterparty.io/t/error-32000-for-importing-offline-address/6206/1 "2021-09-04T07:21:36Z")

</div>

I’m trying to import an offline address (using the Armory option so I can offline sign, not just watch-only) into Counterwallet, but it fails with error -32000, “string indices must be integers”, method get\_pubkey\_for\_address.

What can I do about this? I have some Counterparty tokens on a legacy address whose private key is in Bitcoin Core, and I don’t want to import the private key into Counterwallet. What is the best way to just do a simple token transfer and sign it offline?

---

<div class="post-metadata">

### Author: ![jdogresorg](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/jdogresorg/32/1349_2.png) [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)
#### Post date: [September 10, 2021, 8:54pm UTC](https://forums.counterparty.io/t/error-32000-for-importing-offline-address/6206/2 "2021-09-10T20:54:03Z")

</div>

you should try using [freewallet.io](http://freewallet.io) desktop wallet as it allows you to import private keys and use them.

[Counterwallet.io](http://Counterwallet.io) is old and outdated

---

<div class="post-metadata">

### Author: ![domob](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@domob](https://forums.counterparty.io/u/domob)
#### Post date: [September 11, 2021, 7:21am UTC](https://forums.counterparty.io/t/error-32000-for-importing-offline-address/6206/3 "2021-09-11T07:21:07Z")

</div>

Thanks, I will look into it. However, ideally I don’t want to import a private key at all - I would like some wallet / tool (can even be CLI) to just create an unsigned transaction that corresponds e.g. to a Counterparty asset transfer, and then use an offline Bitcoin wallet to sign it.

As I understand it, that’s what the Armory address feature of Counterwallet was supposed to do. Is there a modern replacement for this functionality?

---

<div class="post-metadata">

### Author: ![jdogresorg](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/jdogresorg/32/1349_2.png) [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)
#### Post date: [September 28, 2021, 12:28am UTC](https://forums.counterparty.io/t/error-32000-for-importing-offline-address/6206/4 "2021-09-28T00:28:41Z")

</div>

You can use a tool like postman to make calls to the Counterparty API which hands back an unsigned transaction.

That is basically all that [freewallet.io](http://freewallet.io) does, makes API calls to Counterparty API to get the unsigned transaction, then signs it locally in the wallet and broadcasts the transaction… the private key/12-word passphrase never leaves the wallet or is ever transmitted anywhere.

[![](https://i.gyazo.com/8dedbd405e9bdc1d98cdf1f974da990f.png) ](https://i.gyazo.com/8dedbd405e9bdc1d98cdf1f974da990f.png)

As far as armory, I have no experience with it, but am pretty sure the implementation in [counterwallet.io](http://counterwallet.io) is old and outdated… you may want to download a more recent version at [https://www.bitcoinarmory.com/](https://www.bitcoinarmory.com/)

---

<div class="post-metadata">

### Author: ![domob](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@domob](https://forums.counterparty.io/u/domob)
#### Post date: [September 30, 2021, 3:00pm UTC](https://forums.counterparty.io/t/error-32000-for-importing-offline-address/6206/5 "2021-09-30T15:00:54Z")

</div>

Ah nice, thanks for sharing the API! That should be exactly what I need.
