some VERY important things to keep in mind
state.ts
file is importantstate.ts
file in the root directory to extract the STF logic.
If you don’t have this file, you will get an error.
However, you are free to add remove any other files in the root directory.
genesis-state.json
file is importantgenesis-state.ts
file in the root directory to extract the genesis state and register with the Vulcan Layer.
deployment.json
file is importantethers-js
there are some default ways of importing functions.
However you should use it from the top level and call it from there
example
Do this 👇
submitAction
step.