rocklabs-io / ic-py

Python Agent Library for the DFINITY Internet Computer
MIT License
127 stars 26 forks source link

Would be nice to use it locally for testing #25

Open fgibbes opened 2 years ago

fgibbes commented 2 years ago

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 commented 2 years ago

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.