starknet-io / starknet.js

JavaScript library for StarkNet
https://www.starknetjs.com
MIT License
1.22k stars 748 forks source link

Add /examples folder #1180

Open ivpavici opened 3 months ago

ivpavici commented 3 months ago

It would be nice to have an /examples folder, that would contain scripts with self-contained examples of usages of starknet.js

We have similar examples in our guides in documentation, but it never hurts to have more resources. One good resource is @PhilippeR26 's examples repo here: https://github.com/PhilippeR26/starknet.js-workshop-typescript/tree/main/src/scripts ...but in our case, we would have only the latest relevant version examples!

Also, we would try and add these examples to run in our CI, so we are sure they are up-to-date and are not broken.

Some of the examples (besides the basic ones) we can add:

princeibs commented 3 months ago

Can I work on this @ivpavici?

ScottyDavies commented 2 months ago

hello @ivpavici Please can I be assigned to this issue ?

martinvibes commented 2 months ago

hello @ivpavici I would love to work on this and be a contributor in your ecosystem

ivpavici commented 2 months ago

hi all! Although this issue is not marked with "OnlyDust" for outside contributors, you are free to make a PR and we can review how it looks - if it's good we can reward it and assign additional guides!

OSEH-svg commented 2 months ago

hello @ivpavici can i work on this