blockchain part for need of escrow project
https://testnet.needofescrow.com
- Change your task_legacy.rs to current task.rs
- Perform modifications in task according to your business needs
- Go to state_migration.rs and change NescrowV1 and NescrowV2 according to your needs. NescrowV1 should be your current contract's state.
- Change migrate_state method in state_migration.rs if needed.
- Change StateVersion::V2 inside match current_version to newer one.
- If you create new collection it should use new entry from StorageKeys.
- Deploy the contract without state initialization.
- Find migrate state command in contract-rs/README.md and run it.