Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a href="https://github.com/alloy-rs/op-alloy/blob/main/LICENSE-MIT"><img src="https://img.shields.io/badge/License-MIT-d1d1f6.svg?label=license&labelColor=2a2f35" alt="License"></a>
<a href="https://alloy-rs.github.io/op-alloy"><img src="https://img.shields.io/badge/Contributor%20Book-854a15?logo=mdBook&labelColor=2a2f35" alt="Book"></a>

Transports, Middleware, and Networks for Optimism built with [Alloy][alloy].
Built on [Alloy][alloy], op-alloy connects applications to the OP Stack.


## Usage
Expand Down Expand Up @@ -50,12 +50,11 @@ op-alloy is intended to be `no_std` compatible, initially for use in [kona][kona
The following crates support `no_std`.
Notice, provider crates do not support `no_std` compatibility.

- `op-alloy-consensus`
- `op-alloy-genesis`
- `op-alloy-protocol`
- `op-alloy-genesis`
- `op-alloy-rpc-types`
- `op-alloy-rpc-types-engine`
- [`op-alloy-consensus`][op-alloy-consensus]
- [`op-alloy-genesis`][op-alloy-genesis]
- [`op-alloy-protocol`][op-alloy-protocol]
- [`op-alloy-rpc-types-engine`][op-alloy-rpc-types-engine]
- [`op-alloy-rpc-types`][op-alloy-rpc-types]

If you would like to add no_std support to a crate,
please make sure to update [scripts/check_no_std.sh][check-no-std].
Expand Down
6 changes: 2 additions & 4 deletions book/src/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ discuss the change you wish to make via issue.

Before working with this repository locally, you'll need to install several dependencies:

- [Docker](https://www.docker.com/) for cross-compilation.
- [just](https://github.com/casey/just) for our command-runner scripts.
- The [Rust toolchain](https://rustup.rs/)
- The [Golang toolchain](https://go.dev/dl/)
- [Just](https://github.com/casey/just) for our command-runner scripts.
- [The Rust toolchain](https://rustup.rs/).

**Optional**

Expand Down
10 changes: 10 additions & 0 deletions book/src/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Licensing

op-alloy is dually licensed under the [Apache 2.0][apache] and the [MIT][mit] license.

The [SNAPPY license][snappy] is added for the use of [snap][snap] in `op-alloy-rpc-types-engine`.

[snap]: https://github.com/BurntSushi/rust-snappy
[snappy]: https://github.com/alloy-rs/op-alloy/blob/main/SNAPPY-LICENSE
[apache]: https://github.com/alloy-rs/op-alloy/blob/main/LICENSE-APACHE
[mit]: https://github.com/alloy-rs/op-alloy/blob/main/LICENSE-MIT
3 changes: 3 additions & 0 deletions book/src/building/rollup-configs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Rollup Configs


Empty file.
44 changes: 31 additions & 13 deletions book/src/intro.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,45 @@
# op-alloy Book

_Documentation for op-alloy._

<a href="https://github.com/alloy-rs/op-alloy"><img src="https://img.shields.io/badge/GitHub%20Repo-op-alloy-green?logo=github"></a>

> 📖 `op-alloy` is in active development, and is not yet ready for use in production. During development, this book will evolve quickly and may contain inaccuracies.
Welcome to the hands-on guide for getting started with op-alloy!

op-alloy connects applications to the OP Stack, leveraging high
performance types, traits, and middleware from [alloy][alloy].

> 📖 Development Status
>
> Please [open an issue][new-issue] if you find any errors or have any suggestions for improvements, and also feel free to [contribute][contributing] to the project!
> `op-alloy` is in active development, and is not yet ready for use in production.
> During development, this book will evolve quickly and may contain inaccuracies.
>
> Please [open an issue][new-issue] if you find any errors or have any suggestions for
> improvements, and also feel free to [contribute][contributing] to the project!

## Introduction
## Sections

op-alloy is a collection of types, middleware, and networks for Optimism built on top of [alloy][alloy].
### [Getting Started](./starting/installation.md)

It is built and maintained by Alloy contributors, members of [OP Labs][op-labs], and the broader
open source community. op-alloy is licensed under the combined Apache 2.0 and MIT License, along
with a SNAPPY license for snappy encoding use.
To get started with op-alloy, add op-alloy crates as a dependency and take your first steps.

### [Building with op-alloy](./building/rollup-configs.md)

## Development Status
A walkthrough of building with op-alloy.

**op-alloy is currently in active development, and is not yet ready for use in production.**
### [Examples](./examples/genesis/loading-a-rollup-config.md)

## Contributing
This section will give you practical examples of how Alloy can be used in your codebase.

### [Contributing](./CONTRIBUTING.md)

Contributors are welcome! It is built and maintained by Alloy contributors,
members of [OP Labs][op-labs], and the broader open source community.

Please see the [contributing guide][contributing] to get involved.

### [Licensing](./LICENSE.md)

op-alloy is licensed under the combined Apache 2.0 and MIT License, along
with a SNAPPY license for snappy encoding use.

Contributors are welcome! Please see the [contributing guide][contributing] for more information.

{{#include ./links.md}}
12 changes: 12 additions & 0 deletions book/src/starting/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Installation

[op-alloy][op-alloy] consists of a number of crates that provide a range of functionality
essential for interfacing with any OP Stack chain.

## Crates

TODO

## `no_std`

TODO