mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-29 23:26:49 +00:00
implemented nft creation with LP
This commit is contained in:
@@ -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);
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user