Code Monkey home page Code Monkey logo

Comments (6)

dr497 avatar dr497 commented on June 3, 2024

The dev.ts file works fine. The error Attempt to debit an account but found no record of a prior credit. means that you don't have SOL in the wallet you are using to sign and send the transaction

from token-vesting.

dt1 avatar dt1 commented on June 3, 2024

@dr497 I have no clue where all of the Vesting contract account pubkey: 6ddovVHQuvjyiPw2euE6Vhr9TJRHkozFxdrxLNDcP1qf is coming from. I put 10 SOL into each of the wallets I'm trying to use.

I'll just accept I don't understand what's happening and hope I'll figure it out.

from token-vesting.

dr497 avatar dr497 commented on June 3, 2024

It's the wallet you are using to sign the tx that needs SOL i.e this one https://github.com/Bonfida/token-vesting/blob/master/js/src/dev.ts#L21

from token-vesting.

dt1 avatar dt1 commented on June 3, 2024

That account is not my wallet. Every time I run yarn dev, I get a different pubkey. I don't know where any of them come from or why they are being generated. I tried airdropping to them all, and it didn't matter because it would just generate a new one.

from token-vesting.

dr497 avatar dr497 commented on June 3, 2024

This account must be your wallet i.e the ones with the tokens to lock and it must be founded.

You just have to put the path to your private key in this variable https://github.com/Bonfida/token-vesting/blob/master/js/src/dev.ts#L20

The new accounts created each time with 0 SOL are the vesting accounts so it's normal that they have no SOL.

from token-vesting.

dt1 avatar dt1 commented on June 3, 2024

Looks like I had to do many other configs to pass this error. I'm not even sure if it works, alas, immediately slammed with another error.

Is there any place to ask questions about this stuff? Seems the discord doesn't work.

Anyways, I'm closing the ticket. Sorry to make a bother here.

from token-vesting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.