atomicals-js
atomicals-js copied to clipboard
prepareCommitRevealConfig(this.options.opType, fundingKeypair, new AtomicalsPayload(copiedData))
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?