File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- // This script is used by a chain admin to create a vault for a token on the Solana Spoke Pool. Note that this is a
1+ // This script can be used by a anyone to create a vault for a token on the Solana Spoke Pool. Note that this is a
22// permissionless operation, only requiring the caller to spend rent-exempt deposit to create the vault account that is
33// not recoverable. Similar to other chains, this enables one to deposit and fill non-whitelisted tokens.
44
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ async function nativeDeposit(): Promise<void> {
6565 // Define the signer (replace with your actual signer)
6666 const signer = ( provider . wallet as anchor . Wallet ) . payer ;
6767
68- // Find ATA for the input token to be stored by state (vault). This was created when the route was enabled.
68+ // Find ATA for the input token to be stored by state (vault).
6969 const vault = getAssociatedTokenAddressSync (
7070 inputToken ,
7171 statePda ,
You can’t perform that action at this time.
0 commit comments