NethermindEth / near-sffl

https://nffl.nethermind.io/
MIT License
6 stars 3 forks source link

Nffl demo examples #265

Open mikhailUshakoff opened 3 days ago

mikhailUshakoff commented 3 days ago

Current Behavior

Currently, there are no examples demonstrating how to interact with our protocol.

New Behavior

Implement simple scripts to:

Breaking Changes

None

Hyodar commented 3 days ago

GJ! I know this is not yet open for reviews, just wanted to add something already. Wdyt about making this into simple CLI programs? Should not be too hard, and we can specify some parameters as flags. I'm thinking like ./updateStateRoot.js --from arbitrum --to optimism --private-key <>. We can have a centralized config that reads the addresses from the scripts output folder. I think this would be the logical step here.

Hyodar commented 3 days ago

I'm a bit familiar with JS CLI tooling, so maybe it's more efficient if I get to it instead.

firatsertgoz commented 2 days ago

fyi - I am turning this into a very lean typescript library so people can import it in their projects. WIll link the repo later.