Git Product home page Git Product logo

Comments (8)

draschke avatar draschke commented on May 24, 2024

Have the same issue.

vscode ➜ /cardano/cardanocli-js (main ✗) $ npm list
cardanocli-js@ /cardano/cardanocli-js
└── [email protected]

vscode ➜ /cardano/cardanocli-js (main ✗) $ npm list -g
/usr/local/share/nvm/versions/node/v16.13.1/lib
├── [email protected]
└── [email protected]

$ cardano-cli --version
cardano-cli 1.32.1 - linux-x86_64 - ghc-8.10
git rev 4f65fb9a27aa7e3a1873ab4211e412af780a3648

from cardanocli-js.

mhdmazaz avatar mhdmazaz commented on May 24, 2024

If I remember correctly, you need to add fund in order to make it work.

from cardanocli-js.

draschke avatar draschke commented on May 24, 2024

@mhdmazaz
I'm a newbie. Could it be that the parameter keyDeposit has changed to stakeAddressDeposit?

// let keyDeposit = cardanocliJs.queryProtocolParameters().keyDeposit;
let keyDeposit = cardanocliJs.queryProtocolParameters().stakeAddressDeposit;

from cardanocli-js.

mhdmazaz avatar mhdmazaz commented on May 24, 2024

I'm really not sure. I ended up (with my team member) writing a new JS CLI from scratch. We are publishing it soon.

Anyway, did you add fund already?

from cardanocli-js.

draschke avatar draschke commented on May 24, 2024

Anyway, did you add fund already?

No, I didn't.
Do I have to add tADA to this created addr_test1qrwx5zxglhvnsv....?

from cardanocli-js.

mhdmazaz avatar mhdmazaz commented on May 24, 2024

Yes, you should do that.

from cardanocli-js.

miguelaeh avatar miguelaeh commented on May 24, 2024

Hi guys,
I have checked and looks like you are right, the keyDeposit was changed to stakeAddressDeposit when querying the protocol parameters.
Also, when performing this action note that the balance must be greater than the stakeAddressDeposit.

from cardanocli-js.

miguelaeh avatar miguelaeh commented on May 24, 2024

You can check the above PR, it should fix the issue

from cardanocli-js.

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.