-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: remake abstract platform overview
- Loading branch information
Showing
12 changed files
with
208 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Abstract Integrations | ||
|
||
!todo | ||
|
||
- Here's a list of some of the projects we're currently integrated with: | ||
|
||
- Dexes: WyndDex, Osmosis, Astroport, White Whale, and TerraSwap | ||
- Oracles: Ojo Network (planned) | ||
- Wallets: Keplr, Cosmostation and Terra Station | ||
- Automation: CronCat and Lit Protocol (planned) | ||
|
||
|
||
|
||
match value { | ||
crate::exchanges::junoswap::JUNOSWAP => { | ||
Ok(Box::<crate::exchanges::junoswap::JunoSwap>::default()) | ||
} | ||
abstract_wyndex_adapter::WYNDEX => { | ||
Ok(Box::<abstract_wyndex_adapter::dex::WynDex>::default()) | ||
} | ||
abstract_osmosis_adapter::OSMOSIS => { | ||
Ok(Box::<abstract_osmosis_adapter::dex::Osmosis>::default()) | ||
} | ||
crate::exchanges::terraswap::TERRASWAP => { | ||
Ok(Box::<crate::exchanges::terraswap::Terraswap>::default()) | ||
} | ||
abstract_astroport_adapter::ASTROPORT => { | ||
Ok(Box::<abstract_astroport_adapter::dex::Astroport>::default()) | ||
} | ||
crate::exchanges::kujira::KUJIRA => Ok(Box::<crate::exchanges::kujira::Kujira>::default()), | ||
_ => Err(DexError::UnknownDex(value.to_owned())), | ||
} | ||
|
||
|
||
croncat | ||
|
||
dca |
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,72 @@ | ||
<!-- # The Abstract Development Platform --> | ||
<!-- This page is a high-level overview of the Abstract Platform, not the SDK or any of our actual products. Hence we should stick to a vocabulary that is familiar to the reader. --> | ||
![SDK Background](https://github.com/AbstractSDK/assets/blob/mainline/twitter_cover-1.png?raw=true) | ||
<!-- | ||
<div align="center"> | ||
### Welcome to Abstract, the interchain CosmWasm development platform. </br>We are building tools and infrastructure for composable smart-contract applications. | ||
</div> --> | ||
## What Is The Abstract Platform? | ||
|
||
The Abstract platform embodies a comprehensive ecosystem with a set of products that empowers you to effortlessly construct, | ||
deploy, and manage applications in the Cosmos ecosystem in record time. | ||
|
||
Our products are designed to be composable, allowing you to re-use the components you need to build your applications. While | ||
Abstract aims to simplify the development experience, it functions as a powerful tool, enabling you to innovate with less effort. | ||
|
||
```admonish info | ||
In this page you are given an overview of the Abstract platform and its products. You can skip the introduction and go | ||
straight to the [Getting Started](./4_get_started/1_index.md) guide if you're already familiar with the platform. | ||
``` | ||
|
||
## Why Build with Abstract? | ||
|
||
Building decentralized applications is hard! We know this because we've been there. We've spent countless hours building | ||
applications on the Cosmos ecosystem, and we've created Abstract with all the lessons we learned along the way to make it | ||
easier and faster to build for you. | ||
|
||
- **Based on CosmWasm** 🌟: Abstract is built on top of the [CosmWasm][1] smart-contract framework, which has been battle-tested | ||
and proven to be secure and reliable. This also means that you can leverage the existing tooling and community to | ||
accelerate your development process. | ||
|
||
|
||
- **Chain-Agnostic** 🌐: The Abstract platform is built to support various blockchain networks within the Cosmos ecosystem, giving | ||
you the flexibility to choose the best-suited platform for your dApp. | ||
|
||
|
||
- **Modular Design** 🧩: Abstract's modular architecture allows you to choose from a curated library of smart-contract or | ||
develop your own using the Abstract SDK, enabling rapid development and customization. Think of Abstract as a lego set for | ||
building decentralized applications, connect the pieces you need and voilà!. | ||
|
||
|
||
- **Custom Governance** 🗳️: Abstract allows you to create custom governance structures tailored to your application's | ||
specific requirements, including integration with multi-signature wallets and DAOs. | ||
|
||
|
||
- **Development Tooling** 🛠: Abstract offers a vast integration testing library, enabling you to quickly increase test coverage | ||
and ensure the reliability of your dApps. | ||
|
||
|
||
- **Version Management** 🔄: Abstract simplifies the process of managing smart-contract versioning, ensuring you can quickly | ||
release and access new features and bug-fixes. | ||
|
||
|
||
- **Ecosystem Integrations** 🌱: Abstract is designed to work seamlessly with popular projects and services in the Cosmos | ||
ecosystem, from DEXes to wallets, we got it all!. If you want to know more about our integrations, check out the [Integrations](10_integrations.md) section. | ||
|
||
## Products of the Abstract Platform | ||
|
||
The following is the list of products that make up the Abstract platform: | ||
|
||
- [Abstract SDK](3_framework/1_abstract_sdk.md): On-chain smart-contract infrastructure. | ||
- [CW-Orchestrator](1_products/cw_orchestrator.md): Multi-environment CosmWasm smart-contract deployment and scripting library. | ||
- [Abstract-Testing](1_products/abstract_testing.md): Unit testing utilities for CosmWasm contracts. | ||
- [Abstract.js](1_products/abstract_js.md): Front-end libraries. | ||
- [Abstract App Template](1_products/abstract_app_template.md): Starting point for building an Abstract App. | ||
- [Graphql API Explorer](https://api.abstract.money/) | ||
|
||
Feel free to explore them individually at your own pace or follow the documentation as it is presented to you. If you have | ||
any questions or ideas you want to discuss, please contact us on [Discord](https://discord.com/invite/uch3Tq3aym). | ||
|
||
[1]: https://cosmwasm.com/ |
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,5 @@ | ||
# Abstract App Template | ||
|
||
!todo | ||
|
||
https://github.com/AbstractSDK/app-template |
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,5 @@ | ||
# Abstract JS | ||
|
||
!todo | ||
|
||
Abstract.js is the Javascript package for interacting with the on-chain Abstract framework. More documentation will be added soon. |
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,5 @@ | ||
# Abstract-Testing | ||
|
||
!todo | ||
|
||
https://github.com/AbstractSDK/contracts/tree/main/packages/abstract-testing |
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,37 @@ | ||
# CW-Orchestrator | ||
|
||
!todo | ||
|
||
Using cw-orchestrator for your smart-contract interactions reduces your testing/deployment overhead and improves both the code's readability and maintainability. | ||
|
||
[cw-orchestrator](https://github.com/AbstractSDK/cw-orchestrator) is a smart-contract scripting library that simplifies smart-contract interactions. It allows you to re-use code between testing and deployments and acts as our primary tool in making Abstract's infrastructure highly available. | ||
|
||
Here's a snippet that sets up the **complete Abstract SDK framework** on a cw-multi-test environment, and deploys the previously shown App contract to the framework. | ||
|
||
```rust,no_run | ||
// Create a sender and instantiate the mock environment | ||
let sender = Addr::unchecked("sender"); | ||
let mock = Mock::new(&sender); | ||
// Construct the counter interface (a wrapper around the contract's entry points) | ||
let contract = CounterApp::new(COUNTER_ID, mock.clone()); | ||
// Deploy Abstract to the mock | ||
let abstr_deployment = Abstract::deploy_on(mock, Empty{})?; | ||
// Create a new account to install the app onto | ||
let account = | ||
abstr_deployment | ||
.account_factory | ||
.create_default_account(GovernanceDetails::Monarchy { | ||
monarch: sender.to_string(), | ||
})?; | ||
// Claim the namespace so app can be deployed | ||
abstr_deployment | ||
.version_control | ||
.claim_namespace(1, "my-namespace".to_string())?; | ||
// Deploy the app! | ||
contract.deploy(APP_VERSION.parse()?)?; | ||
``` |
File renamed without changes.
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