diff --git a/scripts/initialize.ts b/scripts/initialize.ts index d053abc..ec08b9f 100644 --- a/scripts/initialize.ts +++ b/scripts/initialize.ts @@ -11,8 +11,8 @@ import { const provider = anchor.AnchorProvider.env(); const payer = provider.wallet["payer"]; -const MINT_FROM = new PublicKey("METADDFL6wWMWEoKTFJwcThTbUmtarRJZjRpzUvkxhr"); // This is inbound from the user -const MINT_TO = new PublicKey("METAwkXcqyXKy1AtsSgJ8JiUHwGCafnZL38n3vYmeta"); // This is what the user expects out +const MINT_FROM = new PublicKey("ib5CXwoqnMX2BvL6G9Kz69xiAequ6qMiCwuMhVsmeta"); // This is inbound from the user +const MINT_TO = new PublicKey("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"); // This is what the user expects out async function main() { @@ -94,7 +94,7 @@ async function main() { .initialize( MINT_FROM, MINT_TO, - { fixed: { e: 0 } } + { proRata: {} } ) .transaction(); diff --git a/tsconfig.json b/tsconfig.json index 448a3e0..d0db0f2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,11 @@ { "compilerOptions": { - "types": ["mocha", "chai"], + "types": ["node", "mocha", "chai"], "typeRoots": ["./node_modules/@types"], "lib": ["es2020"], "module": "commonjs", "target": "es6", - "esModuleInterop": true + "esModuleInterop": true, + "skipLibCheck": true } }