Closed lijianl closed 4 years ago
pass problem localhost
Hi @lijianl
P1. "Chain extended, new tip" - these mean that cardano-node is operating normally. Use the cardano-wallet /network/information endpoint to get sync state in terms of epoch and slot numbers.
P2. "ntp client experienced error" - the wallet runs NTP queries to check if your system clock is accurate. Your firewall/network configuration might be blocking NTP. If your system clock is accurate then these errors are not a problem.
P2. The API can be accessed only by localhost. This is the default for security reasons. Use cardano-wallet serve --listen-address 0.0.0.0
to change it.
P2. https://input-output-hk.github.io/cardano-wallet/api/edge/ - this is the shelley ara API.
P3. After I restore my wallet data to cardano-wallet, does 'cardano-sl' v1 wallet still work?
Yes, you should see the same balance and transactions in both - for now. But in the future only cardano-wallet will work.
are there any difference between SHELLY wallet and BYRON wallet in link https://input-output-hk.github.io/cardano-wallet/api/edge/ ??
these two wallets are all supported by Shelley
my passphrase of cardano-sl wallet
is too short to restore into cardano-walllet, could you help for this ?
post http://localhost:8091/v2/byron-wallets/
{
"code": "bad_request",
"message": "Error in $.passphrase: passphrase is too short: expected at least 10 characters"
} ```
The main difference between SHELLY wallet and BYRON wallet in the API is in how new addresses are generated. See https://github.com/input-output-hk/cardano-wallet/wiki/About-Address-Derivation for a good explanation.
After restoring the byron wallet, you can transfer your ada from the byron wallet into a new shelley wallet.
Use a different, longer passphrase with cardano-wallet. This passphrase is "only" for encrypting the wallet keys locally. The mnemonic_sentence
is the wallet key. Use exactly the same mnemonic as in cardano-sl
.
So as your words, I can only use /v2/byron-wallets/
before the 8th of June 2020.
and on the 8th of June 2020, I should rebuild my cardano-node
and cardano-wallet
to support Shelley
and change API to /v2/wallets/
?
I make a list of steps:
Before: the 8th of June 2020.
cardano-node
and cardano-wallet
to support byron-walletcardano-wallet
and transfer ADA from cardano-sl
to the new walledId.cardano-sl
api to byron-api
in link https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Byron-WalletsAfter: the 8th of June 2020.
cardano-node
and cardano-wallet
to support shelleybyron
to the new walletIdv2/byron-wallets
to /v2/wallets/
in link https://input-output-hk.github.io/cardano-wallet/api/edgeany problems up above the step ????
For now -
cardano-wallet-byron
and cardano-node
with byron mainnet.Later - cardano-sl will stop working with mainnet. If you have already adapted to the v2 cardano-wallet API, it will be fine.
I get the changes for now.....
also I noticed there is not an API to validate an address before a transaction. anyways to validate an address in advance???
hope The SHELLEY ERA comes smoothly on the 8th of June 2020
@lijianl You can use the estimate fee endpoint to test that an address is encoded well, and matches the network (i.e. mainnet/testnet). But this is not foolproof - use caution.
I believe @neville-freeman has contacted you by e-mail about the shelley hard fork.
is there a list somewhere of what these Notices and Errors mean? I am getting: ChainDB:Notice:26 what does it mean?
This is a question for https://github.com/input-output-hk/cardano-node I am afraid.
I am using wallet V1 from
cardano-sl
and migrating my wallet data tocardano-wallet
; and blocked by some problem.. hope you can give some hit.P1: I started a
cardano-node
onbyron mainnet
. and the log show like theseare these normal log? the information is so little to make sure whether the node is ready..
P2: I built my wallet
cardano-wallet
from sources with cmd below, get from cardano-wallet-installI noticed that an error "ntp client experienced error Network.Socket.ByteString.sendManyTo: does not exist (Network is unreachable) when sending packet" in the log..., what is the meaning of this log...
and my
cardano-wallet
only support BYRON (RANDOM) API from "https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Network". also why the BYRON-API can accessed only by localhost(127.0.0.1) not IP.....i want to know whether my wallet support
Shelley ERA
On the 8th of June 2020...P3. after I retore my wallet data to
cardano-wallet
,does 'cardano-sl' v1 wallet still work avaliable?