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

Would be nice to use it locally for testing #25

Open
fgibbes opened this issue Jan 20, 2022 · 1 comment
Open

Would be nice to use it locally for testing #25

fgibbes opened this issue Jan 20, 2022 · 1 comment

Comments

@fgibbes
Copy link

fgibbes commented Jan 20, 2022

This is not really an issue. I tried to use it locally by using: client = Client(url="http://127.0.0.1:8000"), but this does not work. I am writing Motoko and python programs, but I do not fully understand the internals of the ic. I guess it is not sufficient to just change the url of the client. Any hints?

@fgibbes
Copy link
Author

fgibbes commented Jan 20, 2022

Actually it works without any problem when the local instance is started with "dfx start".
"dfx start --emulator" which is great for testing because it is faster, does not work.

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

1 participant