Skip to content

Commit 348bcf9

Browse files
committed
spl token multisig
1 parent c50d732 commit 348bcf9

File tree

3 files changed

+43
-25
lines changed

3 files changed

+43
-25
lines changed

src/config/sidebar.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,12 +1495,12 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
14951495
url: "ccip/tutorials/svm/cross-chain-tokens",
14961496
children: [
14971497
{
1498-
title: "BurnMint: Direct Mint Authority Transfer (Development)",
1498+
title: "BurnMint: Direct Mint Authority Transfer",
14991499
url: "ccip/tutorials/svm/cross-chain-tokens/direct-mint-authority",
15001500
},
15011501
{
1502-
title: "BurnMint: Production Multisig Configuration",
1503-
url: "ccip/tutorials/svm/cross-chain-tokens/production-multisig",
1502+
title: "BurnMint: SPL Token Multisig Tutorial",
1503+
url: "ccip/tutorials/svm/cross-chain-tokens/spl-token-multisig-tutorial",
15041504
},
15051505
],
15061506
},

src/content/ccip/tutorials/svm/cross-chain-tokens/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Learn how to implement cross-chain tokens using Chainlink's Cross-Chain Interope
1414

1515
This tutorial demonstrates how to create tokens that can seamlessly transfer between Solana Devnet and Ethereum Sepolia using the Cross-Chain Token (CCT) standard with direct mint authority transfer for development environments.
1616

17-
## [BurnMint with Production Multisig Configuration](/ccip/tutorials/svm/cross-chain-tokens/production-multisig)
17+
## [BurnMint with SPL Token Multisig Tutorial](/ccip/tutorials/svm/cross-chain-tokens/spl-token-multisig-tutorial)
1818

19-
This tutorial demonstrates how to create production-ready cross-chain tokens with SPL token multisig governance, providing enhanced security through distributed control while enabling autonomous CCIP operations for production environments.
19+
This educational tutorial demonstrates how to learn SPL token multisig concepts for cross-chain tokens, providing foundational understanding of multisig architecture and distributed control while enabling autonomous CCIP operations. Ideal for understanding multisig concepts before implementing production systems.

src/content/ccip/tutorials/svm/cross-chain-tokens/production-multisig.mdx renamed to src/content/ccip/tutorials/svm/cross-chain-tokens/spl-token-multisig-tutorial.mdx

Lines changed: 38 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
---
22
section: ccip
33
date: Last Modified
4-
title: "Cross-Chain Token Setup: BurnMint with Production Multisig Configuration"
4+
title: "Cross-Chain Token Setup: BurnMint with SPL Token Multisig Tutorial"
55
isIndex: false
66
metadata:
7-
description: "Complete tutorial for implementing bidirectional cross-chain tokens using CCIP Path A with production-ready SPL token multisig configuration. Set up secure BurnMint pools between Solana Devnet and Ethereum Sepolia using self-service registration, multisig governance, and comprehensive security controls for production environments."
8-
excerpt: "ccip cross-chain token tutorial solana ethereum burnmint pools path-a production multisig spl token multisig governance self-service registration svm evm bidirectional token pools address lookup tables transaction monitoring production security solana devnet ethereum sepolia pool signer pda token admin registry multisig threshold governance"
7+
description: "Educational tutorial demonstrating how to implement bidirectional cross-chain tokens using CCIP Path A with SPL token multisig concepts. Learn to set up BurnMint pools between Solana Devnet and Ethereum Sepolia while understanding multisig architecture, self-service registration, and preparing for production deployment."
8+
excerpt: "ccip cross-chain token tutorial solana ethereum burnmint pools path-a multisig educational spl token multisig architecture learning self-service registration svm evm bidirectional token pools address lookup tables transaction monitoring solana devnet ethereum sepolia pool signer pda token admin registry multisig concepts tutorial governance foundation"
99
---
1010

1111
import { Aside, ClickToZoom } from "@components"
1212
import { Tabs } from "@components/Tabs"
1313
import CcipCommon from "@features/ccip/CcipCommon.astro"
1414

15-
This comprehensive tutorial demonstrates how to create and configure cross-chain tokens using Chainlink's Cross-Chain Interoperability Protocol (CCIP) between Solana Devnet and Ethereum Sepolia with **production-ready multisig governance**. You will implement the **SPL token multisig** approach within **Path A** from the [CCIP Cross-Chain Token Integration Guide](/ccip/concepts/cross-chain-token/svm/integration-guide#path-a-full-self-service-mint-authority-controlled).
15+
This educational tutorial demonstrates how to create and configure cross-chain tokens using Chainlink's Cross-Chain Interoperability Protocol (CCIP) between Solana Devnet and Ethereum Sepolia using **SPL token multisig concepts**. You will learn to implement the **SPL token multisig** approach within **Path A** from the [CCIP Cross-Chain Token Integration Guide](/ccip/concepts/cross-chain-token/svm/integration-guide#path-a-full-self-service-mint-authority-controlled).
1616

1717
**Path A Mint Authority Options:**
1818

1919
- **Direct Transfer**: Transfer mint authority directly to Pool Signer PDA - suitable for development and testing ([see tutorial](/ccip/tutorials/svm/cross-chain-tokens/direct-mint-authority))
20-
- **Multisig Setup** (this tutorial): Create SPL token multisig with Pool Signer PDA as a member - recommended for production
20+
- **Multisig Setup** (this tutorial): Learn SPL token multisig concepts with Pool Signer PDA as a member - foundation for production systems
2121

22-
This tutorial focuses on the production-ready multisig approach, implementing proper governance controls while maintaining autonomous cross-chain token transfers through BurnMint token pools.
22+
This tutorial focuses on demonstrating multisig architecture concepts, helping you understand governance controls while maintaining autonomous cross-chain token transfers through BurnMint token pools.
2323

24-
<Aside type="note" title="Production-Ready Approach">
25-
**Important**: This tutorial implements **production-ready multisig governance** for mint authority control. This
26-
approach provides enhanced security through distributed control while enabling autonomous CCIP operations. For
27-
development and testing environments, consider the simpler [Direct Mint Authority Transfer
28-
tutorial](/ccip/tutorials/svm/cross-chain-tokens/direct-mint-authority). This tutorial uses M=1 for simplicity, but
29-
production deployments should consider higher thresholds based on security requirements.
24+
<Aside type="note" title="Educational Multisig Tutorial">
25+
**Important**: This tutorial demonstrates **SPL token multisig concepts** for learning purposes, using simplified
26+
configurations (1-of-2 with single admin wallet). While the multisig architecture shown provides a foundation for
27+
production systems, **real production deployments require additional considerations**: proper governance multisig
28+
(like Squads), higher signature thresholds, and comprehensive security audits. For development and testing
29+
environments, consider the simpler [Direct Mint Authority Transfer
30+
tutorial](/ccip/tutorials/svm/cross-chain-tokens/direct-mint-authority).
3031
</Aside>
3132

3233
<Aside type="caution" title="SPL Token Multisig Limitations">
@@ -147,8 +148,13 @@ The Pool Signer PDA remains the same in both cases.
147148
In this step, you will use Hardhat tasks to deploy an ERC20 token contract and a corresponding burn and mint token pool on Ethereum Sepolia. The tasks interact with the `BurnMintERC20` contract for token deployment and the `BurnMintTokenPool` contract for pool creation.
148149

149150
<Aside type="note" title="Terminal Check">
150-
**Ensure you are in Terminal 2** (Smart Contract Examples - Hardhat directory): ```bash pwd # Should show:
151-
.../smart-contract-examples/ccip/cct/hardhat ```
151+
**Ensure you are in Terminal 2** (Smart Contract Examples - Hardhat directory):
152+
153+
```bash
154+
pwd # Should show:
155+
.../smart-contract-examples/ccip/cct/hardhat
156+
```
157+
152158
</Aside>
153159

154160
### Deploy ERC20 Token
@@ -320,7 +326,13 @@ npx hardhat acceptAdminRole \
320326
In this phase, you will create an SPL token, initialize the CCIP token pool, and complete CCIP registration BEFORE setting up the production multisig. This sequence is critical because the self-service registration requires you to hold the mint authority.
321327

322328
<Aside type="note" title="Terminal Switch">
323-
**Switch to Terminal 1** (Solana Starter Kit directory): ```bash pwd # Should show: .../solana-starter-kit ```
329+
**Switch to Terminal 1** (Solana Starter Kit directory):
330+
331+
```bash
332+
pwd
333+
# Should show: .../solana-starter-kit
334+
```
335+
324336
</Aside>
325337

326338
### Create SPL Token
@@ -1489,7 +1501,8 @@ Test the complete cross-chain token transfer functionality in both directions us
14891501
### Transfer Direction 1: Solana → Ethereum
14901502

14911503
<Aside type="note" title="Terminal Environment">
1492-
**Ensure you are in Terminal 1** (Solana Starter Kit directory) for Solana → Ethereum transfers.
1504+
**Stay in Terminal 1** (Solana Starter Kit directory) for all transfer directions. The Solana Starter Kit supports
1505+
both Solana → Ethereum and Ethereum → Solana transfers, so you can execute all commands from the same terminal.
14931506
</Aside>
14941507

14951508
#### Prepare for Testing
@@ -1720,6 +1733,11 @@ https://explorer.solana.com/tx/5iq6ZVF7TePnaM4SZmo5xFkGpawmqsp6racfECqsbEzeXQJfm
17201733
17211734
### Transfer Direction 2: Ethereum → Solana
17221735
1736+
<Aside type="note" title="Terminal Environment">
1737+
**Continue in Terminal 1** (Solana Starter Kit directory). No need to switch terminals - the Solana Starter Kit
1738+
handles Ethereum → Solana transfers as well.
1739+
</Aside>
1740+
17231741
#### Execute Transfer
17241742
17251743
<Tabs client:visible>
@@ -1899,10 +1917,10 @@ solana config get
18991917

19001918
<Aside type="tip" title="Understanding This Demonstration">
19011919
**What This Proves**: Successfully minting tokens through the multisig confirms that:
1902-
- Mint authority transfer was successful
1903-
- The multisig is properly configured (1-of-2 with Pool Signer PDA + Admin Wallet)
1904-
- You retain administrative control through your Admin Wallet
1905-
- The Pool Signer PDA can autonomously handle CCIP operations
1920+
- Mint authority transfer was successful
1921+
- The multisig is properly configured (1-of-2 with Pool Signer PDA + Admin Wallet)
1922+
- You retain administrative control through your Admin Wallet
1923+
- The Pool Signer PDA can autonomously handle CCIP operations
19061924

19071925
**Key Insight**: Since you're one of the multisig signers, you can still perform administrative mints. The Pool Signer PDA handles CCIP burns/mints automatically, while you handle manual operations.
19081926

0 commit comments

Comments
 (0)