Git Product home page Git Product logo

Comments (11)

Keith-CY avatar Keith-CY commented on June 9, 2024

Could you please provide the versions of ckb-sdk-js and ckb explicitly?

According to the message, the error occurs at

  s.update(this.utils.hexToBytes(cell.data.replace(/^0x/, '')));

where the cell is genesisBlock.transactions[0].output[0] and cell.data is undefined.

The latest ckb-sdk is v0.18.0 which only works with [email protected] whose cell still has the field of data.

But the [email protected](not released yet) has a breaking change which removes the field, more details in this post

from ckb-sdk-js.

hunjixin avatar hunjixin commented on June 9, 2024

@nervosnetwork/[email protected]

emmm. can i get correct data message from transaction .outputs_data by the same output index in transaction outputs, ok?

from ckb-sdk-js.

hunjixin avatar hunjixin commented on June 9, 2024

addition

  • wallet can not import keystore generated by ckb_cli !
  • how can i get private from wallet?

from ckb-sdk-js.

Keith-CY avatar Keith-CY commented on June 9, 2024

@nervosnetwork/[email protected]

emmm. can i get correct data message from transaction .outputs_data by the same output index in transaction outputs, ok?

Yes, they are listed orderly.

from ckb-sdk-js.

Keith-CY avatar Keith-CY commented on June 9, 2024

addition

  • wallet can not import keystore generated by ckb_cli !

Yes, they are not universal for now, but we are working on it.

  • how can i get private from wallet?

The wallet will not provide a way to export the private keys for security.

from ckb-sdk-js.

Keith-CY avatar Keith-CY commented on June 9, 2024

@nervosnetwork/[email protected]

emmm. can i get correct data message from transaction .outputs_data by the same output index in transaction outputs, ok?

This SDK only works with [email protected], and the current version of CKB develop branch is 0.19.

So if you've built the CKB from the develop branch, they cannot work with each other.

from ckb-sdk-js.

hunjixin avatar hunjixin commented on June 9, 2024

@Keith-CY suggest providing block_assambly fro miner config, or miner directly in wallet

from ckb-sdk-js.

Keith-CY avatar Keith-CY commented on June 9, 2024

@Keith-CY suggest providing block_assambly fro miner config, or miner directly in wallet

We do have added them in the Overview view
image

The Lock Arg is what a miner request for the block_assembler

from ckb-sdk-js.

hunjixin avatar hunjixin commented on June 9, 2024

kk, thanks

from ckb-sdk-js.

ashchan avatar ashchan commented on June 9, 2024

kk, thanks

Please be kindly noted the Miner Info section might be moved to somewhere else in a future version.

from ckb-sdk-js.

Keith-CY avatar Keith-CY commented on June 9, 2024

It seems that the problem has been resolved

Feel free to reopen this issue if there are any related cases.

from ckb-sdk-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.