Тёмный

Cardano Node Development using cardanocli-js on WINDOWS!! I GOT IT TO WORK! 

Kardall
Подписаться 251
Просмотров 1,6 тыс.
50% 1

It took a while, but I finally figured out an easy way to gain entry into developing things on the Cardano block chain in Windows.
No need to setup a Virtual Machine or a Sub-System for Linux on your Windows 10 machine. All you need to run is the Daedalus Wallet!
And then edit a bunch of code to make it work on Windows, but... here's how it all works!
-----------------------------
Dependencies Used:
cardanocli-js: npm install cardanocli-js --save
node-powershell: npm install node-powershell --save
Daedalus Wallet:
daedaluswallet.io/

Наука

Опубликовано:

 

30 авг 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@Kardall
@Kardall 2 года назад
Setting Up A Development Environment Series: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PlUlsSZey-4.html Check the playlist here: ru-vid.com/group/PLMa_oxSmtJVBOcLNXLSrVem9d72poZBxh
@pierrehohl9572
@pierrehohl9572 2 года назад
Awesome! Just today i thought about how to automate the process of setting this up. It was kind of annoying to look for the socket path every time i restarted the wallet. So thanks for this video!
@Kardall
@Kardall 2 года назад
You're welcome :D super stoked I got this working.
@GlynnPowell
@GlynnPowell 2 года назад
Awesome work dude , Id love to get a copy of that code to play with please ;)
@floatiez
@floatiez 2 года назад
Hey, I want to ask if you are familiar with lucid-cardano? I am trying to build TX on backend and send signed TX to blockfrost..
@Kardall
@Kardall 2 года назад
I am not actually. I don't create transactions like this normally. Anything I want is done with some other system. In the normal cases it would be something like the cardano-wallet sending nfts via a Faucet amount on the wallet in question. Or perhaps using a 3rd party system like the nft-maker site that would 'send a random nft' to a given address or similar other 3rd part solutions.
@yavuzkoca9351
@yavuzkoca9351 2 года назад
Hi. Trying to mint with cardanocli-js. I am getting chield process:655 error. Transaction build okey but added "Nan undefined" word between --tx-out command. How can i solve it?
@Kardall
@Kardall 2 года назад
Not knowing exactly what it looks like, it should give you a line issue in the cardanocli-js that is throwing the error. Perhaps you are not sending a correct value as the outbound address? Did you make sure that the wallet has a balance on it to afford the transaction fees for minting?
@HopeUnveiled
@HopeUnveiled 2 года назад
Im struggling to get this armada tutorial work on linux Virtual machine. When i trie to create-wallet.js it give me a error on Vkeypayment. And that part of the index.js inside cardanocli-js you show.. Do you know how to help me? Thank you for your work
@Kardall
@Kardall 2 года назад
It should look something like this: let name = "mywallet" let addrKeys = cardano.addressKeyGen(name) cardano.stakeAddressKeyGen(name) cardano.stakeAddressBuild(name) cardano.addressBuild(name, { paymentVkey: addrKeys.vkey }) I don't know what your code looks like so. If addrKeys value errors out, maybe you have spaces in your wallet name or illegal characters? try just using basic letters, no special UTF-8 characters or letters with accents. Maybe that is causing it?
@pastuh
@pastuh 2 года назад
Tested, now works :) Really strange why they not updated github..
@HopeUnveiled
@HopeUnveiled 2 года назад
@@Kardall Thnak you my guy! Now im stuck at the minting stage. If i could do that i would really get a big step foward .. You suceeded on minting on cardanocli-js? IF so i would love to see how..
@dosomething6975
@dosomething6975 2 года назад
Did you ever test any transactions using that env?
@Kardall
@Kardall 2 года назад
no. The amount of work it is going to take to modify the cardanocli-js so that it works on windows commands is staggering. So many command line actions that don't match windows environment :(
@sameldin4120
@sameldin4120 2 года назад
any chance you gone create tutorial for this scripte ?
@Kardall
@Kardall 2 года назад
The majority of the code is from the Armada Alliance github that's been around for a bit (note the update in the lovelace section to value and not amount when it comes to that part). ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OeOliguGn7Y.html The remainder of the things I found are explained in the video, and requires a lot of editing of the BerryPool cardanocli-js module: github.com/Berry-Pool/cardanocli-js Since it is only for Linux environments.
@Kardall
@Kardall 2 года назад
I mean. I could do a live stream on RU-vid going over setting up a VM maybe from start to finish if that would help. I thought about doing it, but sync'ing the blockchain takes hours.
@pastuh
@pastuh 2 года назад
Maybe you know how to fix this error.. (When I try to mint) Really strange why value.lovelace not exist /home/pastuh/Projects/Cardano/minter/node_modules/cardanocli-js/helper.js:140 result += `--tx-out "${txOut.address}+${txOut.value.lovelace}`; ^ TypeError: Cannot read property 'lovelace' of undefined at txOutList.forEach (/home/pastuh/Projects/Cardano/minter/node_modules/cardanocli-js/helper.js:140:57) at Array.forEach () at exports.txOutToString (/home/pastuh/Projects/Cardano/minter/node_modules/cardanocli-js/helper.js:138:13)
@pastuh
@pastuh 2 года назад
Ok, looks like github is updated.. my fail :X changing tx.txOut[0].amount.lovelace to tx.txOut[0].value.lovelace
@Kardall
@Kardall 2 года назад
@@pastuh Ya. That was a change with the new node compared to the one it was on :) I had the same issue :D
@pastuh
@pastuh 2 года назад
@@Kardall But I still have issue.. nightmare for me.. Random error: Missing: --out-file FILE Usage: cardano-cli transaction build-raw Insane.. And I can't find any fix.. tested mintMA.js example, but same issue.. Can you please share your github with working minting script? I sit there maybe 5 hours, tested cardano cli, tested cardano-cli js.. But at final destination this error..
@Kardall
@Kardall 2 года назад
@@pastuh I literally have exactly what is done in the Armada Alliance scripts ;o With the amount -> value fix on the codebase. If your code is giving you an error on a particular line, you can back-track from there to see what is not being built correctly. Not being able to see your code, I don't know. If it's having an --out-file parameter error, it usually means that maybe it is this line: github.com/armada-alliance/cardano-minter/blob/master/src/mint-asset.js#L66 Which would mean, something inside the tx const is incorrect or null starting around here: github.com/armada-alliance/cardano-minter/blob/master/src/mint-asset.js#L46
Далее
80 Year Olds Share Advice for Younger Self
12:22
Просмотров 1,7 млн
The Story of Next.js
12:13
Просмотров 560 тыс.
100+ Docker Concepts you Need to Know
8:28
Просмотров 893 тыс.
~/.dotfiles in 100 Seconds
13:54
Просмотров 413 тыс.
The Big Headless CMS Lie (James Mikrut)
18:14
Просмотров 52 тыс.
Microservices explained - the What, Why and How?
18:30
Просмотров 835 тыс.
How To Use Docker To Make Local Development A Breeze
21:53
Using docker in unusual ways
12:58
Просмотров 429 тыс.
Мой новый мега монитор!🤯
1:00
Просмотров 659 тыс.
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 7 млн