Code Monkey home page Code Monkey logo

Comments (4)

jnordberg avatar jnordberg commented on August 25, 2024

The correct return type is a TransactionConfirmation (as per the broadcast api in steemd) there's a helper to fetch the transaction from a confirmation if you need it for some reason.

Missing Posting Authority means that you're not signing with the correct key. Post your code and I'll have a look

from dsteem.

sarasate avatar sarasate commented on August 25, 2024

Ok, thats weird. Haven't checked steemd for this.. was just wondering why steemJS returns a different object. Will check that.

I used the private posting key for your testnet with PrivateKey.fromString(). That same key works with steemJS comment operation. Also tried with fromLogin, same response. Don't know if I missed something?!

return await dsteem.broadcast.comment(
    comment,
    PrivateKey.from(key)
  );

from dsteem.

jnordberg avatar jnordberg commented on August 25, 2024

Code looks fine, make sure that you are setting the correct chainId when creating the client connecting to the testnet, otherwise the signatures will be invalid

from dsteem.

sarasate avatar sarasate commented on August 25, 2024

Damn, I set that up a while ago and forgot about the options. Not running into problems while just using the database API. Thanks for pointing it out.. works fine.

And it really returns a TransactionConfirmation ;)

from dsteem.

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.