Loyce...wouldn't that mean you would need access to the private key? In order to create a transacrtion wouldn't the public key paired with the private key need to be loaded and then a transaction can be generated? Didn't know this could be done with no Bitcoin in it.
You can't send a transaction from an empty address, but I'm hoping you can create a transaction based on the (still unconfirmed) timelocked transaction.
Let's test this:
My (testnet) address on my made-up card is tb1qqngm2k9hpc4skrhxf5zl7m0p3m6tm9m0k3jv89. The private key is p2wpkh:cSSznAdAjUnBrL4EtkT1kPkygatqFhv8KrkiBUAY5j8iHcZW9uii.
From address tb1q7cevguh0kvpux8y9x9fczfuz2gxtlxrzvetfx4, I create a time-locked transaction to tb1qqngm2k9hpc4skrhxf5zl7m0p3m6tm9m0k3jv89. LockTime is 2428815 (1000 blocks from now). I can't broadcast this transaction yet:
02000000000101e0837ed3bfb89e4491c5cbcedbeda8b5a5e46254c23ad17a0c0bca027a39100e0100000000feffffff01ba7313000000000016001404d1b558b70e2b0b0ee64d05ff6de18ef4bd976f02473044022014954d7969c9ec9a61de472920645e4eff766d4e1e564ee536680e973904943102204f0601b7acc8e4b58ba27fb355029d3a20b8245080699d123e65d3c4ca8d6004012103cf78237d0e6a8bbe2829535515a504721651d8d65d2c5ef8e6b483c77db896a68f0f2500
With this information, I continue in an offline Electrum wallet, and import the private key (the one mentioned above).
I was hoping it would allow me to use the signed transaction and build a second transaction from there, but it knows the block height isn't sufficient yet so it doesn't work.
I tried again with Bitcoin Core, and I can create the raw transaction, but it doesn't let me sign it:
"error": "Input not found or already spent"
I really thought this must be possible, but I can't figure out how
So never mind this plan
I see what you wanted to do now....shorten or change the raw timelock transaction block or date? That is impossible as it is forged with the first wallets private key and without that key you will not be able to do that unless you have the key and you forge a new transaction from scratch.
That's the beauty of bitcoins blockchain and smart contracts, they cannot be changed once forged.
I one time created a time lock contract and spent the bitcoin to test...so of course when the transaction was broadcast it was already spent...useless and it was a double spend scenario....so of course it failed.
I then loaded the same exact amount of bitcoin on the same address to see if it would work, and of course it did not. Every single Satoshi is unique it cannot be replaced my another Satoshi or bitcoin unless its generated with a new smart contact.
That's one thing I LOVE about Bitcoin and blockchain technology.
IMMUTABLE But thanks for at least trying. Cheers!