atomicals-js icon indicating copy to clipboard operation
atomicals-js copied to clipboard

prepareCommitRevealConfig(this.options.opType, fundingKeypair, new AtomicalsPayload(copiedData))

Open ekmanss opened this issue 1 year ago • 1 comments

When I was in mint arc20, I transferred the btc to the address prompted by terminal, but this address is not in my wallet.json, how should I get the private key for this address. I looked at the code and found that this address is generated by this code const baseCommit: { scriptP2TR, hashLockP2TR } = prepareCommitRevealConfig(this.options.opType, fundingKeypair, new AtomicalsPayload(copiedData)) Where baseCommit.scriptP2TR.address is the address that appears in my terminal, how do I get the private key for this address? image

ekmanss avatar Nov 15 '23 12:11 ekmanss