uri or rpc connection or config or terminal parameters to connect to monerod
Optional
username: stringusername to authenticate with monerod
Optional
password: stringpassword to authenticate with monerod
the daemon RPC client
Generated using TypeDoc
Create a client connected to monerod.
Examples:
let daemon = await moneroTs.connectToDaemonRpc("http://localhost:38081");
let daemon = await moneroTs.connectToDaemonRpc({
uri: "http://localhost:38081",
username: "superuser",
password: "abctesting123"
});
// start monerod as an internal process
let daemon = await moneroTs.connectToDaemonRpc({
cmd: ["path/to/monerod", ...params...],
});