Skip to content
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

New mint need a credit for Solana #9

Open
berscoin opened this issue Nov 24, 2021 · 0 comments
Open

New mint need a credit for Solana #9

berscoin opened this issue Nov 24, 2021 · 0 comments

Comments

@berscoin
Copy link

Hello,

I test :

const mint = await spl.Mint.create(connection, 6, alice.publicKey, alice);

I got an error : Transaction simulation failed: Attempt to debit an account but found no record of a prior credit
I think that first, I should airdrop some lamports for Alice to do this.

But if Bob also has no sol/lamports how he can transfert to Alice ?
Maybe solution is to create one main account who can pay all fees of these transactions without airdroping sol to everyone ? But is it possible?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant