cardano-sl
cardano-sl copied to clipboard
How to do i make web ui for cardano?
I have build the **Cardano SL ** from the source code.Also then i have run the command nix-build -A connectScripts.mainnetWallet -o connect-to-mainnet then ./connect-to-mainnet. After doing this my node is start connecting to mainnet. But how can i verify my node is connected, and also how can i perform transaction in testnet or create new account through my java application?
Hello,
- The wallet API is listening on port 8090 and the API docs are here: https://cardanodocs.com/technical/wallet/api/v1/
- You will need to use TLS client authentication when accessing the API. Alternatively, disable client authentication when building the wallet connect script.
- There is more information and FAQs here: https://github.com/input-output-hk/cardano-sl/blob/master/docs/exchange-onboarding.md
- And you can also browse the IOHK support portal
But when I tried to make wallet on command line.. It want new mnemonic words.
Run ./scripts/generate-mnemonic.hs
.
Actually I have solved this issue by generating words on https://iancoleman.io/bip39/ but while run this above code it generates error.
Hey My api is running on command line but when it I try to execute localhost link on browser it generates errors.
Hello @sneha6patel,
-
scripts/generate-mnemonic.hs
- sorry I forgot to mention that this will need to download GHC and libraries just to run the script ... so it may take a while the first time. In the next version we provide a binary of this util. - If using a web page for generating a mnemonic, it may not be private. Some scripts you might find are buggy and insecure also. The safest way is probably to run Daedalus and write down the backup phrase it generates for a new wallet.
- You cannot use access the API through the web browser, unless you disable TLS client auth. Curl is probably better anyway though. The exchange onboarding doc has more info on configuring the connect script.
I've done what you said but still it couldn't connect
Please answer me..It's urgent
And tell me which programming lang would be best to make web service on cardano? and tell me honestly cardano-sl is best or cardano-cli to make web service on cardano?
JavaScript and http://cardanodocs.com/technical/wallet/api/v1/?v=1.5.1 will do it.
@sneha6patel The easiest way is to use https://soshen.io/ in combination with the Cardano-Wallet NPM package