-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add nft #57
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Details
Tried creating minting policy from json, failed;
#59
Why?
Lucid instantiation: I am using an emulator, while the example uses provider instance.
} | ||
|
||
const lender = await generateAccount({ lovelace: 75000000000n }); | ||
const borrower = await generateAccount({ lovelace: 100000000n }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I can add tokens here?
https://deno.land/x/[email protected]/src/types/types.ts?source#L52
test
?
test
?
tests/lucid.test.ts
Outdated
const utxos = await lucid.utxosAt( | ||
recipient, | ||
); | ||
console.log(utxos); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello!
I'm bit stuck, maybe I'll get unstuck myself, but if you could review my pr😇
I added code for minting NFT to tests/lucid.test.ts L56;
It completes, but when I look at my wallet utxos, there isn't anything new there. L92
Using emulator.log(); didn't show anything interesting.
The best I could do is to print the minting transaction hash, L86
I suspect maybe I need to set the collateral in the wallet, right?
Thank you
potential-robot/tests/lucid.test.ts
Lines 58 to 59 in e26ca18
lucid minting
https://lucid.spacebudz.io/docs/getting-started/mint-assets/
main completes, but there is no new utxo in my wallet address.
Maybe I need to set collateral in the borrower wallet?