Skip to content

Not able to access attachToTangle on own full IOTA node #17

Description

@tx0b

I followed your advice: "Install and run your own full IOTA node, configured to grant you access to the attachToTangle command."

My configuration in die iota.ini:
REMOTE_LIMIT_API = "removeNeighbors, addNeighbors, getNeighbors, setApiRateLimit"
Still not able to access the attachToTangle command. When I execute the following code I get nothing back and no time out:

// Generate a single address deterministically with seed 'ABCDFG'
iota.api.getNewAddress('<seed>', function(e, address) {

  console.log(e, address);
    if (!e) {
        console.log(address);

            var transfer = [{
            'address': address,
            'value': 0
        }];

        iota.api.sendTransfer('<seed>', 3, 18, transfer, function(e,s) {

            if (!e) {
                console.log("Successfully generated and attached address");
            } else {
                console.log(e);
            }
        });
    } else {
        console.log(e);
    }

});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions