ic-py icon indicating copy to clipboard operation
ic-py copied to clipboard

Would be nice to use it locally for testing

Open fgibbes opened this issue 3 years ago • 1 comments

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 avatar Jan 20 '22 18:01 fgibbes

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.

fgibbes avatar Jan 20 '22 18:01 fgibbes