Closed abhishek-Kumar009 closed 11 months ago
Hey guys i have been trying to form OP_RETURN output using sats-connect
I have to send an EVM address (20bytes) in OP_RETURN data for my dApp
Please help me here: I've reached this far in figuring this out
tx.addOutput({ script: btc.Script.encode([ 'RETURN', new TextEncoder().encode('abc') ]), amount: 0n })
Added in https://github.com/secretkeylabs/sats-connect-example/pull/6
Hey guys i have been trying to form OP_RETURN output using sats-connect
I have to send an EVM address (20bytes) in OP_RETURN data for my dApp
Please help me here: I've reached this far in figuring this out