Introduction to Apps
Was this helpful?
Was this helpful?
Andromeda is a central hub for building fully decentralized web-3 Apps in the Cosmos ecosystem. To do so, we have created the App ADO which groups all the different ADOs needed for a dApp under one ADO. This facilitates the organization of the project and the communication between the different parts.
Fully decentralized dApps
Instantiate all of the ADOs with one go
Use our custom name-spacing system to integrate and connect ADOs
Interact with the entire dApp and ADOs from one source
Easily customize permissioning and ownership of all ADOs
We will be building the Apps using the , so make sure you have it dowloaded. If not you can grab the latest version by running:
We will be building all our examples using our :
wasm instantiate
wasm execute
wasm query
In the examples we will cover, there will be many instances where we have to convert JSON messages to Base64. To convert your JSON message to a base64 encoded message, you will need to use an online converter. One thing to keep in mind is that the JSON message needs to be one line when converting. For example the conversion below is Invalid as the message is spread accross 7 lines:
The correct conversion looks like this:
In the examples we will cover, you will need to interact with the components of the app after you instantiate it. You can run the following in CLI to get the contract address of each component:
This will return the name of each component, along with the contract address.
In the next sections, we will be going through some examples on building and deploying an Andromda App from scratch using the Andromeda CLI. All the Apps will be built on the Andromeda testnet and will be local (Not cross-chain). We will go through a variety of popular dApps that can be built using Andromeda. Keep in mind that these are only a very few use cases out of the thousands that can be built.
All of the builds can be performed using our which would prompt you to fill in the messages field by field. Feel free to experiment and build any of the use cases the way you find easiest.