To use this code
- Update
contracts/contracts/NftSnapshot.solwith your desired state override code - Run
solcjs --bin --abi --include-path node_modules/ --base-path contracts/. contracts/NftSnapshot.sol -o dir/(requiresnpm i -g solc) - Look in
dir/forNftSnapshot_sol_NftSnapshot.abiandNftSnapshot_sol_NftSnapshot.bin- copy these files intoscripts/state_override.py. Note that you will have to add"0x"to the beginning of the bytecode var - Run
state_override.py