This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -128,10 +128,7 @@ export async function loadTokenProgram(): Promise<void> {
128
128
129
129
export async function createMint ( ) : Promise < void > {
130
130
const connection = await getConnection ( ) ;
131
- const payer = await newAccountWithLamports (
132
- connection ,
133
- 100000000000 /* wag */ ,
134
- ) ;
131
+ const payer = await newAccountWithLamports ( connection , 1000000000 /* wag */ ) ;
135
132
testMintAuthority = new Account ( ) ;
136
133
testToken = await Token . createMint (
137
134
connection ,
@@ -529,11 +526,8 @@ export async function nativeToken(): Promise<void> {
529
526
const connection = await getConnection ( ) ;
530
527
// this user both pays for the creation of the new token account
531
528
// and provides the lamports to wrap
532
- const payer = await newAccountWithLamports (
533
- connection ,
534
- 100000000000 /* wag */ ,
535
- ) ;
536
- const lamportsToWrap = 50000000000 ;
529
+ const payer = await newAccountWithLamports ( connection , 2000000000 /* wag */ ) ;
530
+ const lamportsToWrap = 1000000000 ;
537
531
538
532
const token = new Token ( connection , NATIVE_MINT , programId , payer ) ;
539
533
const owner = new Account ( ) ;
You can’t perform that action at this time.
0 commit comments