Coder Social home page Coder Social logo

open() method deprecated? about rise-py HOT 4 CLOSED

risevision avatar risevision commented on May 24, 2024
open() method deprecated?

from rise-py.

Comments (4)

spookiestevie avatar spookiestevie commented on May 24, 2024

also, the send() method also says its deprecated

from rise-py.

roosmaa avatar roosmaa commented on May 24, 2024

Yes, both of them have been deprecated (on the node side). I took over maintainership of this library last week, and I haven't gotten around to implementing alternatives.

The old way of doing things was to send the secret to the node and the node would generate the correct transaction. This was somewhat acceptable for nodes running on the same machine. However, it isn't at all acceptable for nodes that are running on another machine (due to security concerns). With the node typescript rewrite all of such APIs were deprecated.

The new approach is to sign the transactions directly on the caller side, that way the account secret is never exposed to the network.

If you aren't tied to Python, then for the time being you can look into the javascript/typescript libraries. There you can use the dpos-offline package to do the offline signing.

from rise-py.

spookiestevie avatar spookiestevie commented on May 24, 2024

Ah, I completely agree with the reason you chose to remove those methods... I don't need to use the methods now but I'm interested in how to sign Rise tx/s on the client side.

from rise-py.

roosmaa avatar roosmaa commented on May 24, 2024

Ok, a new version of risesdk has been published. It now supports signing transactions locally and all the deprecated REST API methods have been removed. The examples/ folder has usage examples. Closing this issue now.

from rise-py.

Related Issues (6)

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.