Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/initialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {

Expand Down Expand Up @@ -94,7 +94,7 @@ async function main() {
.initialize(
MINT_FROM,
MINT_TO,
{ fixed: { e: 0 } }
{ proRata: {} }
)
.transaction();

Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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
}
}