1
The attachToTangle command is used to perform PoW for your transaction. For it to work for transactions received via the Internet (even from localhost), you need to enable remote PoW in your Hornet node:
https://docs.iota.org/docs/hornet/1.1/guides/allowing-remote-pow
by setting this configuration:
"httpAPI": {
"permitRemoteAccess": [
...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
attach-to-tangle × 24tangle × 7
iri-api × 6
iota-network × 5
address × 4
transaction × 3
pow × 3
iri-node × 2
seed × 2
masked-authenticated-messaging × 2
wallet × 1
snapshot × 1
confirmation × 1
javascript × 1
address-reuse × 1
coordinator × 1
reattach × 1
balances × 1
signing × 1
consensus × 1
proof-of-work × 1
pyota × 1
private-key × 1
development × 1
flash-channel × 1