zksync-sdk / zksync-python

Python 3.8 SDK for zkSync
MIT License
116 stars 65 forks source link

ZkSync.json not found #8

Closed mmagician closed 3 years ago

mmagician commented 3 years ago

When following the instructions, I run into the following error:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/marcin/.virtualenvs/zk/lib/python3.9/site-packages/zksync_sdk/contract_abi/ZkSync.json'

FYI, I downloaded the crypto lib as suggested and I run the script as: ZK_SYNC_LIBRARY_PATH=/Users/marcin/dev/zksync/zks-crypto-macos-x64.dylib python main.py

You can find the exact script I'm executing here.

Lastly, to get my local setup I followed https://github.com/matter-labs/zksync/blob/master/docs/launch.md, with the only exception that I had to expose the 30303 port of the geth container. I also have a server & dummy prover running (though I guess prover isn't necessary at this stage yet)

Please let me know if I'm missing something?