We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/ckb-js/lumos/blob/develop/website/docs/00-intro.md
In the document above, there are some out-of-date materials
predefined.AGGRON4
TESTNET is suggested.
TESTNET
AddressType
const { mnemonic, ExtendedPrivateKey, AddressType } = hd;
import { RPC, Indexer } from '@ckb-lumos/lumos'; const CKB_RPC_URL = "https://testnet.ckb.dev/rpc"; const CKB_INDEXER_URL = "https://testnet.ckb.dev/indexer"; const rpc = new RPC(CKB_RPC_URL); const indexer = new Indexer(CKB_INDEXER_URL, CKB_RPC_URL);
The indexer and rpc services are merged. Maybe we can simplify it? An example:
const CKB_RPC_URL = "https://testnet.ckb.dev"; const indexer = new Indexer(CKB_RPC_URL); const rpc = new RPC(CKB_RPC_URL);
const myMnemonic = mnemonic.generateMnemonic(); const seed = mnemonic.mnemonicToSeedSync(myMnemonic); console.log("my mnemonic: ", myMnemonic); // <-- update this
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/ckb-js/lumos/blob/develop/website/docs/00-intro.md
In the document above, there are some out-of-date materials
TESTNET
is suggested.AddressType
The indexer and rpc services are merged. Maybe we can simplify it? An example:
The text was updated successfully, but these errors were encountered: