Skip to content

Commit

Permalink
Merge pull request #3 from CosmWasm/v0.7.0
Browse files Browse the repository at this point in the history
V0.7.0
  • Loading branch information
jawoznia authored Aug 4, 2023
2 parents ae82e02 + 39c935b commit 9e8eab2
Show file tree
Hide file tree
Showing 32 changed files with 933 additions and 4,357 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# The Sylvia Book

The book is about writing Smart Contracts for CosmWasm using Rust with Sylvia framework.
This book is about writing Smart Contracts using [Sylvia](https://github.com/CosmWasm/sylvia) framework.

To learn about CosmWasm on which Sylvia rely check [The Cosmwasm Book](https://book.cosmwasm.com/index.html)

## About

This repo contains source code for [The CosmWasm Book](https://cosmwasm.github.io/sylvia-book/).
This repo contains source code for [The Sylvia Book](https://cosmwasm.github.io/sylvia-book/).

## Building

Expand Down
23 changes: 11 additions & 12 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Introduction

This book is a guide for creating CosmWasm smart contracts with Sylvia framework.
It will lead you step by step, and explain relevant topics from the easiest to the trickier
ones.
This book is a guide for creating CosmWasm smart contracts with the Sylvia framework.
It will lead you step by step and explain relevant topics from easiest to trickiest.

The idea of the book is not only to tell you about smart contracts API but also
to show you how to do it in a clean and maintainable way. We will show you
patterns that CosmWasm creators established and encouraged you to use.
The idea of the book is not only to tell you about smart contract development but also
to show you how to do it clean and maintainable. I will show you some good practices
for using `sylvia`.

This book is a redo of [cosmwasm-book](https://book.cosmwasm.com/).
To see advantage of using sylvia you can compare development of smart contracts
in both of these titles.
This book is not meant to teach you about the `CosmWasm`. To learn about that, I recommend reading
[the cosmwasm-book](https://book.cosmwasm.com/).

This book covers `sylvia` in version 0.7.0.

## Prerequirements

This book explores CosmWasm smart contracts. It is not a Rust tutorial, and it
assumes basic Rust knowledge. As you will probably learn it alongside this
book, I strongly recommend grasping the language itself first. You can find
book, I recommend first grasping the language. You can find
great resources to start with Rust on [Learn
Rust](https://www.rust-lang.org/learn) page.

Expand All @@ -39,5 +39,4 @@ deployed from there. Please create an
any mistakes, bugs, or ambiguities.

## Warning
This book is still under construction so be aware that in places it might feel a little bit disjointed.

This book is still under construction, so be aware that, in some places, it might feel disjointed.
27 changes: 9 additions & 18 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,26 @@

- [Setting up the environment](setting-up-env.md)

- [Quick start with wasmd](wasmd-quick-start.md)

- [Testnet setup](wasmd-quick-start/testnet.md)
- [Preparing account](wasmd-quick-start/preparing-account.md)
- [Interaction with testnet](wasmd-quick-start/testnet-interaction.md)
- [Building the contract](basics/building-contract.md)

# Smart contracts

- [Basics](basics.md)

- [Create a Rust project](basics/create-project.md)
- [Entry points](basics/entry-points.md)
- [Generating first messages](basics/first-messages.md)
- [Entry points](basics/entry-points.md)
- [Building the contract](basics/building-contract.md)
- [Contract state](basics/state.md)
- [Creating a query](basics/query.md)
- [Testing a query](basics/query-testing.md)
- [Introducing multitest](basics/multitest-intro.md)
- [Execution messsages](basics/execute.md)
- [Events attributes and data](basics/events.md)
- [Dealing with funds](basics/funds.md)
- [Error handling](basics/error_handling.md)
- [Override entry point](basics/entry_points_overriding.md)
- [Interfaces](basics/reusability.md)
- [Remote type](basics/remote.md)
- [Good practices](basics/good-practices.md)
- [Floating point types](basics/fp-types.md)
- [Reusability](basics/reusability.md)

- [The Actor Model](actor-model.md)

- [The idea](actor-model/idea.md)
- [Actors in the blockchain](actor-model/actors-in-blockchain.md)
- [Contract as an actor](actor-model/contract-as-actor.md)
- [Ibc](ibc.md)
- [Custom queries and messages]()
- [Sudo]()

[Legal Information](impressum.md)
9 changes: 0 additions & 9 deletions src/actor-model.md

This file was deleted.

Loading

0 comments on commit 9e8eab2

Please sign in to comment.