-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ let KeyUtils = require("./key-utils.js"); | |
// let DapiGrpc = require("@dashevo/dapi-grpc"); | ||
let Dpp = require("@dashevo/wasm-dpp"); | ||
|
||
let rpcAuthUrl = "https://api:[email protected]"; | ||
|
||
const DIP13_ECDSA = 0; | ||
|
||
let identityEcdsaPath = ""; | ||
|
@@ -64,7 +66,6 @@ async function main() { | |
pubKeyHash: pkh, | ||
}); | ||
|
||
let rpcAuthUrl = "https://api:[email protected]"; | ||
let utxos = await DashTx.utils.rpc(rpcAuthUrl, "getaddressutxos", { | ||
addresses: [addr], | ||
}); | ||
|
@@ -101,6 +102,12 @@ async function main() { | |
console.log(`txSigned:`); | ||
console.log(txSigned); | ||
|
||
// let txid = await DashTx.utils.rpc( | ||
// rpcAuthUrl, | ||
// "sendrawtransaction", | ||
// txSigned.transaction, | ||
// ); | ||
|
||
// let assetLockProof = await YoureAWizardHarry.doMagic(); | ||
|
||
// let idIndex = 0; // increment to first unused | ||
|