Skip to content

Commit 53a0d52

Browse files
authored
feat(i18n): add source locale verification script and update workflows (#1581)
docs: remove warnings about ZK ElGamal Program from confidential transfer guides
1 parent 6f2cd6d commit 53a0d52

18 files changed

Lines changed: 49 additions & 69 deletions

File tree

.github/workflows/i18n.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- uses: actions/checkout@v4
39+
- run: node scripts/i18n/verify-source-locales.mjs
3940
- uses: lingodotdev/lingo.dev@main
4041
env:
4142
GH_TOKEN: ${{ github.token }}
@@ -58,6 +59,7 @@ jobs:
5859
runs-on: ubuntu-latest
5960
steps:
6061
- uses: actions/checkout@v4
62+
- run: node scripts/i18n/verify-source-locales.mjs
6163
- uses: lingodotdev/lingo.dev@main
6264
env:
6365
GH_TOKEN: ${{ github.token }}

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/apply-pending-balance.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ title: Apply Pending Balance
33
description: Learn how to apply pending balance to make funds available.
44
---
55

6-
<Callout type="warn">
7-
The ZK ElGamal Program is temporarily disabled on the mainnet and devnet as it
8-
undergoes a security audit. This means that confidential transfers extension
9-
is currently unavailable. While the concepts are still valid, the code
10-
examples will not run.
11-
</Callout>
12-
136
## How to apply pending balance to available balance
147

158
Before tokens can be transferred confidentially, the public token balance must

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/create-mint.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ description:
44
Learn how to create a token mint with the Confidential Transfer extension.
55
---
66

7-
<Callout type="warn">
8-
The ZK ElGamal Program is temporarily disabled on the mainnet and devnet as it
9-
undergoes a security audit. This means that confidential transfers extension
10-
is currently unavailable. While the concepts are still valid, the code
11-
examples will not run.
12-
</Callout>
13-
147
## How to create a mint with Confidential Transfer extension
158

169
The Confidential Transfer extension enables private token transfers by adding

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/create-token-account.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ description:
44
Learn how to create a token account with the Confidential Transfer extension.
55
---
66

7-
<Callout type="warn">
8-
The ZK ElGamal Program is temporarily disabled on the mainnet and devnet as it
9-
undergoes a security audit. This means that confidential transfers extension
10-
is currently unavailable. While the concepts are still valid, the code
11-
examples will not run.
12-
</Callout>
13-
147
## How to create a token account with the Confidential Transfer extension
158

169
The Confidential Transfer extension enables private token transfers by adding

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/deposit-tokens.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ title: Deposit Tokens
33
description: Learn how to deposit tokens to confidential state.
44
---
55

6-
<Callout type="warn">
7-
The ZK ElGamal Program is temporarily disabled on the mainnet and devnet as it
8-
undergoes a security audit. This means that confidential transfers extension
9-
is currently unavailable. While the concepts are still valid, the code
10-
examples will not run.
11-
</Callout>
12-
136
## How to deposit tokens to confidential pending balance
147

158
Before tokens can be transferred confidentially, the public token balance must

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/index.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ description:
55
optional features to token mints and accounts.
66
---
77

8-
<Callout type="warn">
9-
The ZK ElGamal Program is temporarily disabled on the mainnet and devnet as it
10-
undergoes a security audit. This means that confidential transfers extension
11-
is currently unavailable. While the concepts are still valid, the code
12-
examples will not run.
13-
</Callout>
14-
158
## What are Confidential Transfers?
169

1710
Confidential transfers enable you to transfer tokens between token accounts
@@ -105,6 +98,13 @@ corresponding pages:
10598
>
10699
How to confidentially transfer tokens between token accounts
107100
</Card>
101+
<Card
102+
title="Integration Guide"
103+
href="/docs/tokens/extensions/confidential-transfer/integration-guide"
104+
>
105+
How wallets, explorers, and exchanges can support confidential transfer
106+
tokens
107+
</Card>
108108
<Card
109109
title="Issuer Guide"
110110
href="/docs/tokens/extensions/confidential-transfer/issuer-guide"

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/issuer-guide.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ while leaving account addresses, the mint, and owners public. They rely on the
2020
ZK ElGamal Proof Program for onchain proof verification, so the mint is usable
2121
on clusters where that program is enabled.
2222

23-
<Callout type="warn" title="Availability">
24-
Confidential transfers require the Token-2022
25-
[`program@v11.0.0`](https://github.com/solana-program/token-2022/releases/tag/program%40v11.0.0)
26-
or later. They are available on devnet today and are scheduled to be enabled
27-
on mainnet in June 2026. The Token Extension Program is deployed separately to
28-
each cluster, so confirm the deployment on the cluster you target.
29-
</Callout>
30-
3123
## Decisions you make at creation
3224

3325
The Confidential Transfer extension must be initialized before the mint is

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"apply-pending-balance",
88
"withdraw-tokens",
99
"transfer-tokens",
10+
"integration-guide",
1011
"issuer-guide"
1112
]
1213
}

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/transfer-tokens.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ description:
44
Learn how to transfer tokens privately from one token account to another.
55
---
66

7-
<Callout type="warn">
8-
The ZK ElGamal Program is temporarily disabled on the mainnet and devnet as it
9-
undergoes a security audit. This means that confidential transfers extension
10-
is currently unavailable. While the concepts are still valid, the code
11-
examples will not run.
12-
</Callout>
13-
147
## How to confidentially transfer tokens from one token account to another
158

169
To confidentially transfer tokens from one token account to another, both the

apps/docs/content/docs/en/tokens/extensions/confidential-transfer/withdraw-tokens.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ title: Withdraw Tokens
33
description: Learn how to withdraw tokens from confidential state.
44
---
55

6-
<Callout type="warn">
7-
The ZK ElGamal Program is temporarily disabled on the mainnet and devnet as it
8-
undergoes a security audit. This means that confidential transfers extension
9-
is currently unavailable. While the concepts are still valid, the code
10-
examples will not run.
11-
</Callout>
12-
136
## How to withdraw tokens from confidential available balance
147

158
To withdraw tokens from confidential available balance to public balance:

0 commit comments

Comments
 (0)