-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Stylus script example to the template #25
base: main
Are you sure you want to change the base?
Commits on Mar 18, 2024
-
feat(scripts)!: add to example
Includes `common` lib, used throughout all scripts Scripts can be run using `cargo stylus script run ${SCRIPT_NAME}` Convert `counter.rs` example into a script Add a deployment script, building on top of the `cargo-stylus` `deploy` functionality All scripts (+ `common`) sit in a `cargo` `workspace` (for now) under `./scripts`
Configuration menu - View commit details
-
Copy full SHA for 4ca0150 - Browse repository at this point
Copy the full SHA 4ca0150View commit details -
fix(scripts)!: escape
scripts
'Cargo
projectsRedefine project root to be the first directory containing `.git` Also remove stray `dbg!` call
Configuration menu - View commit details
-
Copy full SHA for 805a573 - Browse repository at this point
Copy the full SHA 805a573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ebac7 - Browse repository at this point
Copy the full SHA 51ebac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8afb9a0 - Browse repository at this point
Copy the full SHA 8afb9a0View commit details
Commits on Mar 19, 2024
-
chore(scripts)!: better names for
common
exports`NetworkConfig` -> `Config` `rest` -> `env`
Configuration menu - View commit details
-
Copy full SHA for 09811b8 - Browse repository at this point
Copy the full SHA 09811b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b41556d - Browse repository at this point
Copy the full SHA b41556dView commit details -
feat(scripts)!: add
deploy_and_increment
scriptChange `common::deploy()` to return the programm address
Configuration menu - View commit details
-
Copy full SHA for 0ebc67d - Browse repository at this point
Copy the full SHA 0ebc67dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4a27a3 - Browse repository at this point
Copy the full SHA e4a27a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d980b58 - Browse repository at this point
Copy the full SHA d980b58View commit details
Commits on Mar 20, 2024
-
chore: further improve docs and example
Mainly for `additional_variables` Also add newline at `Stylus.toml`'s EOF Also import `eyre::Result` in example script
Configuration menu - View commit details
-
Copy full SHA for 0e9ab8b - Browse repository at this point
Copy the full SHA 0e9ab8bView commit details -
Merge pull request #3 from LimeChain/LimeChain/scripts-vik
chore!: docs and example nits and fixes
Configuration menu - View commit details
-
Copy full SHA for 6ce69a1 - Browse repository at this point
Copy the full SHA 6ce69a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28d390c - Browse repository at this point
Copy the full SHA 28d390cView commit details -
chore(README): remove old
--example
exampleAlso add filetypes (`bash`) to all appropriate code snippets
Configuration menu - View commit details
-
Copy full SHA for d0d97cf - Browse repository at this point
Copy the full SHA d0d97cfView commit details
Commits on Mar 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4735e54 - Browse repository at this point
Copy the full SHA 4735e54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c42434 - Browse repository at this point
Copy the full SHA 6c42434View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0827db4 - Browse repository at this point
Copy the full SHA 0827db4View commit details
Commits on Mar 22, 2024
-
feat(scripts)!: use exported
common
moduleExported from `cargo_stylus`
Configuration menu - View commit details
-
Copy full SHA for 89a8561 - Browse repository at this point
Copy the full SHA 89a8561View commit details
Commits on Mar 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5d14603 - Browse repository at this point
Copy the full SHA 5d14603View commit details
Commits on Mar 26, 2024
-
feat(scripts): use updated
cargo_stylus
`cargo_stylus::common` -> `cargo_stylus::util::scripts`
Configuration menu - View commit details
-
Copy full SHA for e431b28 - Browse repository at this point
Copy the full SHA e431b28View commit details -
Configuration menu - View commit details
-
Copy full SHA for a57066e - Browse repository at this point
Copy the full SHA a57066eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f08bc3 - Browse repository at this point
Copy the full SHA 6f08bc3View commit details -
Merge pull request #4 from LimeChain/LimeChain/stylus-script-common-e…
…xtraction Extract away `common` into `cargo-stylus`
Configuration menu - View commit details
-
Copy full SHA for ce6bcd6 - Browse repository at this point
Copy the full SHA ce6bcd6View commit details