diff --git a/resources/images/claim_dark.svg b/resources/images/claim_dark.svg new file mode 100644 index 000000000..a8a76289f --- /dev/null +++ b/resources/images/claim_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/claim_light.svg b/resources/images/claim_light.svg new file mode 100644 index 000000000..99d47005d --- /dev/null +++ b/resources/images/claim_light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/merkle_claim_dark.svg b/resources/images/merkle_claim_dark.svg new file mode 100644 index 000000000..043946112 --- /dev/null +++ b/resources/images/merkle_claim_dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/merkle_claim_light.svg b/resources/images/merkle_claim_light.svg new file mode 100644 index 000000000..3f0fc06e0 --- /dev/null +++ b/resources/images/merkle_claim_light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/standard/tokens/airdrop.mdx b/standard/tokens/airdrop.mdx index 660b56152..7212d6d45 100644 --- a/standard/tokens/airdrop.mdx +++ b/standard/tokens/airdrop.mdx @@ -3,6 +3,7 @@ title: "Airdrop" --- import { Aside } from '/snippets/aside.jsx'; +import { Image } from '/snippets/image.jsx'; ## The problem: distributing at scale @@ -14,7 +15,11 @@ An airdrop flips the model. Instead of the distributor paying all fees, each eli The straightforward approach is to keep a precomputed mapping of recipient → allocation in the contract. When a user sends a claim message, the contract releases the preassigned drop for that user. -![Claim](/standard/tokens/pictures/claim.png) +claim ## The naive approach-and its limit @@ -44,7 +49,11 @@ We must also prevent double-claims. The airdrop have a small per-user marker con 1. If valid, the marker records that the claim has been made and rejects further requests. 1. The airdrop contract verifies the [Merkle proof](/ton/proofs/overview) and transfers the asset to the address specified in the proof. -![Merkle claim](/standard/tokens/pictures/merkle-claim.png) +Merkle claim ## Examples diff --git a/standard/tokens/pictures/claim.png b/standard/tokens/pictures/claim.png deleted file mode 100644 index d5ab6d98b..000000000 Binary files a/standard/tokens/pictures/claim.png and /dev/null differ diff --git a/standard/tokens/pictures/merkle-claim.png b/standard/tokens/pictures/merkle-claim.png deleted file mode 100644 index b150ca3d4..000000000 Binary files a/standard/tokens/pictures/merkle-claim.png and /dev/null differ