<p>Addresses are a human-convenience feature, and have little bearing on the underlying Bitcoin transaction.</p>

<p>Common types of addresses rely on sending coins to scripts that allow spending by signatures from certain private keys. However, you can have scripts that allow spending as long as any given locking requirement is met.</p>

<p>Unfortunately, the script must be self contained, and you will not be able to enforce a burn requirement, as there is no way to check if the coins have actually been burned on-chain. Your best bet would be to lock the coins to a key, and have an off chain way to share that key with someone who burns the required amount of coins.</p>

CC BY-SA 4.0
2019-11-12T17:05:03.533Z
Thank you.  The proof of burn would have this structure: https://docs.bisq.network/dao-technical-overview.html#proof-of-burn-tx

I think that it could be possible if the script hash is the result of hashing the hash of the burnt transaction + the amount burned + random text signed by the one who burnt the colored coin.

But this is only possible if the burning is made **before** building the script transaction. Correct?  Or could be a way of building the script without before the burning takes place?
Manuel GPF
CC BY-SA 4.0
2019-11-12T13:05:29.877Z
2019-11-12T13:05:29.877Z
Raghav Sood
<p>I am thinking of a transaction that can only be spent if the recipient proves that he has burnt a specific amount of a colored coin.</p>

<p>Because the recipient is not known beforehand, is it possible that the recipient provides the destination address together with the proof when trying to spend the funds, or the destination address has to be always provided when building the scrpit?</p>

<colored-coins>
Is it possible to build pay to script without destination address?
Manuel GPF
# Is it possible to build pay to script without destination address?

(Asked by: username_0 on 2019-11-12)

I am thinking of a transaction that can only be spent if the recipient proves that he has burnt a specific amount of a colored coin.

Because the recipient is not known beforehand, is it possible that the recipient provides the destination address together with the proof when trying to spend the funds, or the destination address has to be always provided when building the scrpit?

**Tags:** colored-coins


---

## 1 answers

### Answer by username_1 on 2019-11-12. Score: 1

Addresses are a human-convenience feature, and have little bearing on the underlying Bitcoin transaction.

Common types of addresses rely on sending coins to scripts that allow spending by signatures from certain private keys. However, you can have scripts that allow spending as long as any given locking requirement is met.

Unfortunately, the script must be self contained, and you will not be able to enforce a burn requirement, as there is no way to check if the coins have actually been burned on-chain. Your best bet would be to lock the coins to a key, and have an off chain way to share that key with someone who burns the required amount of coins.

> **Comments:**
> **username_0**: Thank you.  The proof of burn would have this structure: https://docs.bisq.network/dao-technical-overview.html#proof-of-burn-tx  I think that it could be possible if the script hash is the result of hashing the hash of the burnt transaction + the amount burned + random text signed by the one who burnt the colored coin.  But this is only possible if the burning is made **before** building the script transaction. Correct?  Or could be a way of building the script without before the burning takes place?  

---

