Import testnet address in bcoin
You can use the http api to perform an import. Notably, you import a wallet with the create wallet command as the import command imports addresses into a wallet.


curl -X PUT \
  http://127.0.0.1:18332/wallet/$ID \
  -H 'authorization: Basic eDppYW1zYXRvc2hp' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{
    "masterKey":$MASTERKEY
}'


Link to docs