implemented nft creation with LP

This commit is contained in:
biccsdev
2025-01-17 12:14:47 -06:00
parent dc520dff08
commit 6bbb6d489c
8 changed files with 391 additions and 40 deletions

View File

@@ -38,19 +38,24 @@ const collectionAccount = "";
const createItemOptions: CreateSingleOptions = {
itemName: "",
sellerFee: 500, //5%
itemAmount: 100,
itemAmount: 333,
itemSymbol: "",
itemDescription: "",
traits: [{ trait_type: "", value: "" }],
price: 0, //100000000 == 0.1 sol
price: 100000000, //100000000 == 0.1 sol,
splHash: "",
poolName: "",
mainImageUrl: "",
};
const withPool = true;
(async () => {
const result = agent.create3LandNft(
collectionAccount,
createItemOptions,
isDevnet,
withPool,
);
console.log("result: ", result);
})();