-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into evmos/general-ledger-support
- Loading branch information
Showing
18 changed files
with
237 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- | ||
order: false | ||
parent: | ||
order: 5 | ||
--> | ||
|
||
# Building a Chain | ||
|
||
This repository contains documentation on concepts developers need to know in order to build a Cosmos SDK applications. | ||
|
||
1. [Overview of `app.go` and how to wire it up](./app-go.md) | ||
2. [Dependency Injection in the SDK](./depinject.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- | ||
order: 0 | ||
--> | ||
|
||
# Overview of `app.go` and how to wire it up | ||
|
||
This section is intended to provide an overview of the `app.go` file and is still a work in progress. | ||
For now we invite you to read the [tutorials](https://tutorials.cosmos.network) for a deep dive on how to build a chain. | ||
|
||
<!-- | ||
## `app.go` | ||
Since `v0.47.0` the Cosmos SDK have made easier wiring an `app.go` thanks to dependency injection: | ||
+++ https://github.com/cosmos/cosmos-sdk/blob/main/simapp/app_config.go | ||
+++ https://github.com/cosmos/cosmos-sdk/blob/main/simapp/app.go | ||
## `app_legacy.go` | ||
+++ https://github.com/cosmos/cosmos-sdk/blob/main/simapp/app_legacy.go | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- | ||
order: 1 | ||
--> | ||
|
||
# Dependency Injection | ||
|
||
This section is intended to provide an overview of the `depinject` package and is still a work in progress. | ||
The SDK uses a dependency injection framework called `depinject` for helping building a chain faster. | ||
|
||
## `AppConfig` | ||
|
||
* https://pkg.go.dev/cosmossdk.io/core/appconfig | ||
|
||
|
||
## `depinject` | ||
|
||
* https://pkg.go.dev/cosmossdk.io/depinject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<!-- | ||
order: 14 | ||
--> | ||
|
||
# Module Simulation | ||
|
||
## Prerequisites | ||
|
Oops, something went wrong.