Skip to content
New issue

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

Thank you so much #1

Open
PauloFDO opened this issue Nov 16, 2021 · 6 comments
Open

Thank you so much #1

PauloFDO opened this issue Nov 16, 2021 · 6 comments

Comments

@PauloFDO
Copy link

PauloFDO commented Nov 16, 2021

Hey!

I'm aware that this is the wrong feature to do this but I really would like to thank you for putting this here, I spent the last two days trying to get this to work, almost non stop, I had a mix between code and settings issues but being able to put my hands on something that I know that should work allowed me to focus on the configuration issues until I got it right and could, finally, run cardano-clio from C#,

not quite sure what your final intention is but what would improve this a lot would be add a read me with some quick instructions of what people may be missing, like use 'target platform x64', run the project as WSL not ISS Express (in my case I'm using it in a .Net Core application) etc... In any case thanks, you are a star

@zachyking
Copy link
Owner

Hey Paulo, thank you for appreciation, I am glad it helped you a bit!

I am sorry that docs are missing and there is no care for the repository, unfortunately I am really busy building a project, so I tried to put as much as I can out to help others. There is obviously more stuff that could be done, but I agree with writing down at least readme with some points missing.

Btw, I use the C# CardanoCLI for stuff like minting tokens on Windows running locally with daedalus node, or on Linux dedicated server.

@PauloFDO
Copy link
Author

I saw those tools in the Cardano documentation, the first thing that came to my mind was security, I would feel way more comfortable having all these commands hidden deep in the backend but I'm sure they took care of it (I didn't check at all), but I really wanted to set everything up in a lower level to understand what is going on behind the scenes, I wish Cardano had more love for Windows, having to set up this cocktail of Windows + Linux really was a headache

@zachyking
Copy link
Owner

As I said, it can be run on Windows! What were your issues?

If I am using it also in windows to do things locally, I usually only hardcode the paths instead of loading them from App.config, mainly to cli.exe, as there are always some spaces, it messes with formatting and I didn't bother to fix this yet.

For Windows, I run node by running Daedalus. After that, you need an environment variable for the socket path, here it's a different command on Win as on Linux. This is Windows one (node/Daedalus has to be running):
$ENV:CARDANO_NODE_SOCKET_PATH = (Get-ChildItem \\.\pipe\ | Where-Object {$_.name -like "cardano-node*"}).FullName

After this you should be able to run cardano-cli.exe with command on windows:
.\cardano-cli.exe query tip --mainnet

If your CLI works, now you should be able to use also this wrapper to build apps on Windows.

If you need a bit of help, we can connect on Twitter or Discord, maybe we can try to create some docs based on your issues.

@PauloFDO
Copy link
Author

PauloFDO commented Nov 17, 2021

thanks! Right now I have no issues, everything is up and running and I'm just exploring the testnet possibilities and doing silly transactions, currently I'm connecting directly to cardano-cli and running the commands from the backend using a Process, nothing fancy but seems to work well once I solved all the issues of setting it up, but I would love to connect on twitter, I don't use it much but I probably should (dropped you a follow so we stay in contact)

@zachyking
Copy link
Owner

Followed you back so you can DM if something comes up, feel free to ask any questions :)

I'll close this "issue" when I find time to create some proper readme.md

@PauloFDO
Copy link
Author

honestly the read me suggestion is just because I felt like it was wrong to create an issue without saying anything negative! All I use from the project is RunCLICommand and that is clear enough for me! The Cardano Guides skip a million steps when it comes to run that thing out of the terminal.

Thank you again, I will keep an eye in your progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants