Is there a way to mint directly to a user wallet while the admin wallet signs the tx? #656
Unanswered
JohnPaulPabelico
asked this question in
Questions
Replies: 1 comment
-
i think it's easier to write your own contract and have a function does all these steps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
sen.dev
Describe your question in detail.
Currently my minting logic goes like
Is there a way to skip the transferring part using Aptos TS SDK? Like mint directly to a wallet but a different wallet is the signer?
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
I tried assigning the admin wallet as signer for the submit tx and the recipient wallet as the creator for the mint tx. But that gives me no luck or it doesn't work as I get an account not found error
Here's what I have right now with the three step logic
` if (stampCollection.network === 'aptos') {
const APTOS_NETWORK: Network = Network.DEVNET;
const config = new AptosConfig({ network: APTOS_NETWORK });
const aptos = new Aptos(config);
console.log('minting');
Which operating system are you using?
Linux (Ubuntu, Fedora, Windows WSL, etc.)
Which SDK or tool are you using? (if any)
TypeScript SDK
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions