Comments (3)
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.
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.
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)
- Can't access bsvjs.deps.Buffer HOT 1
- please add paymail query api HOT 3
- [email protected] Block.toBuffer().toString('hex') not equal to rpc getblock(blockhash, 0) HOT 6
- [email protected] tx.id() not equal to rpc getblock(blockhash, 1) tx id HOT 9
- bsv 3.0 epic checklist HOT 1
- How can I create a transaction with multiple inputs and outputs? HOT 1
- Error in documentation: bsv-private-key.html HOT 1
- version compatible HOT 3
- bsv legacy failing on parse hex script
- Global export of bsv undefined since 2.0.10
- 'testnet' address generation bug? HOT 3
- Increase Block.MAX_BLOCK_SIZE
- bsv version 2 isFullySigned HOT 1
- Tx.fromHex is not equal toHex. See example.
- How to create and send transaction using bsv?
- @Limpisey168
- #1
- #1
- huge memory usage when building a transaction in browser env HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsv.