Skip to content

Commit

Permalink
Add warning notice for installations (#524)
Browse files Browse the repository at this point in the history
* add warning notice for installations

* Update README.md

Co-authored-by: Martín Triay <martriay@gmail.com>

* add explanation to block

Co-authored-by: Martín Triay <martriay@gmail.com>
  • Loading branch information
andrew-fleming and martriay committed Nov 29, 2022
1 parent dbb1a3d commit ace83f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ nile init
pip install openzeppelin-cairo-contracts
```

> ⚠️ Warning! ⚠️
Installing directly the `main` branch may contain incomplete or breaking implementations, download [official releases](https://github.com/OpenZeppelin/cairo-contracts/releases/) only.

### Use a basic preset

Presets are ready-to-use contracts that you can deploy right away. They also serve as examples of how to use library modules. [Read more about presets](https://docs.openzeppelin.com/contracts-cairo/0.5.1/extensibility#presets).
Expand Down
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ nile init
pip install openzeppelin-cairo-contracts
----

WARNING: Installing directly through GitHub may contain incomplete or breaking implementations.
While we aim not to introduce such changes, we still strongly recommend installing through https://github.com/OpenZeppelin/cairo-contracts/releases/[official releases].

=== Use a basic preset

Presets are ready-to-use contracts that you can deploy right away.
Expand Down

0 comments on commit ace83f8

Please sign in to comment.