Skip to content

Escrow not displaying the funded NFTs #17

@codewithabbass

Description

@codewithabbass

Hi guys, I’m reaching out because I’m facing an issue with the MPL Hybrid, specifically regarding the escrow not displaying the funded NFTs.

Here’s what I’ve been doing:
I’m creating an NFT linked to a collection.

const tx = await create(umi, {
    name,
    asset: assetAddress,
    uri,
    collection,
    owner: umi.identity.publicKey,
}).sendAndConfirm(umi);

After creating the NFT, I fund it to the escrow, but the NFTs are not showing up there. I’ve tried multiple times and even created two new escrows, but unfortunately, all my tests have failed.

import { transferV1 } from "@metaplex-foundation/mpl-core";

// Derive the Escrow
const escrow = umi.eddsa.findPda(MPL_HYBRID_PROGRAM_ID, [
    string({ size: "variable" }).serialize("escrow"),
    publicKeySerializer().serialize(collection),
]);

// Transfer Asset to it
const transferAssetTx = await transferV1(umi, {
    asset,
    collection,
    newOwner: escrow,
}).sendAndConfirm(umi);

Could anyone help me figure out why the NFTs aren’t showing up in the escrow? Any insights or suggestions would be greatly appreciated! Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions