Giter Site home page Giter Site logo

Comments (3)

afomi avatar afomi commented on September 28, 2024 2

The API has changed substantially between bsv-legacy and the updated [email protected]

const seed = bsvjs.Bip39.fromRandom().seed
const hdPrivKey = bsvjs.Bip32.fromSeed(seed)
const someKey = hdPrivKey.derive("m/5/2/8")
const somePubkey = someKey.pubKey
const address = bsvjs.Address.fromPubKey(somePubkey).toString()

console.log(address)

from bsv.

mathiasrw avatar mathiasrw commented on September 28, 2024 1

I am facing challenges understanding the versions , maintenance and future of bsv library. most of courses I followed at satolearn and other places are using old version of library which is 1.5.x and also moneybutton documentation is using 0.30.0

Im with you on this one

from bsv.

Zhell1 avatar Zhell1 commented on September 28, 2024 1

using bips as the naming scheme is really confusing to newcomers and fails at the target purpose of It should not be necessary to read the source code of a class or function to know how to use it / so that other developers find the code easy to understand.

developers, especially newcomers, should not have to learn by heart which BIP number corresponds to a well-known feature of any bitcoin library, the feature should be described by its name for clarity and ease of use

from bsv.

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.