finished touches on testing file

This commit is contained in:
biccsdev
2025-01-04 18:39:31 -06:00
parent b3555ebded
commit ae7878cca1
2 changed files with 31 additions and 29 deletions

View File

@@ -171,12 +171,12 @@ const createItemOptions: CreateSingleOptions = {
mainImageUrl: "",
splHash: "", //present if listing is on a specific SPL token, if not present sale will be on $SOL
};
const isMainnet = false;
const result = await agent.create3LandNft(
optionsWithBase58,
collectionAccount,
createItemOptions,
optionsWithBase58.isMainnet
isMainnet
);
```

View File

@@ -18,12 +18,13 @@ const optionsWithBase58: StoreInitOptions = {
isMainnet: false,
};
/****************************** CREATING COLLECTION ******************************** */
const collectionOpts: CreateCollectionOptions = {
collectionName: "collectionXD",
collectionSymbol: "CXD",
collectionDescription: "a collection that is cool",
mainImageUrl:
"https://arweave.net/FMkKYYsheEImBfejYaPPoJbI3CxJxunwvErD9VYzxOY?ext=jpeg",
collectionName: "",
collectionSymbol: "",
collectionDescription: "",
mainImageUrl: "",
};
(async () => {
@@ -35,27 +36,28 @@ const collectionOpts: CreateCollectionOptions = {
console.log("collection: ", collection);
})();
//const collectionAccount = "";
// const createItemOptions: CreateSingleOptions = {
// itemName: "",
// sellerFee: 500,
// itemAmount: 100,
// itemSymbol: "",
// itemDescription: "",
// traits: [{ trait_type: "", value: "" }],
// price: 0, //100000000 == 0.1 sol
// mainImageUrl: "",
// };
/****************************** CREATING NFT ******************************** */
const collectionAccount = "";
const createItemOptions: CreateSingleOptions = {
itemName: "",
sellerFee: 500,
itemAmount: 100,
itemSymbol: "",
itemDescription: "",
traits: [{ trait_type: "", value: "" }],
price: 0, //100000000 == 0.1 sol
mainImageUrl: "",
};
// const isMainnet = true;
//(async() => {
// const result = agent.create3LandNft(
// optionsWithBase58,
// collectionAccount,
// createItemOptions,
// isMainnet,
// );
// console.log("result: ", result);
//})();
const isMainnet = false;
(async () => {
const result = agent.create3LandNft(
optionsWithBase58,
collectionAccount,
createItemOptions,
isMainnet,
);
console.log("result: ", result);
})();
// export { SolanaAgentKit, createSolanaTools };
export { SolanaAgentKit, createSolanaTools };