-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add providers/tools and cleanup EVM sections
- Loading branch information
1 parent
5a2fc6e
commit 22add5c
Showing
15 changed files
with
530 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { AddToMetaMaskButton } from '@theme/AddToMetaMaskButton'; | ||
import { Networks } from '@theme/constant'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
<Tabs groupId='network'> | ||
<TabItem value='iota' label='IOTA EVM'> | ||
|
||
| Contract Type | Contract Address | | ||
|:----------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------:| | ||
| Pyth contract | [https://explorer.evm.iota.org/address/0x8D254a21b3C86D32F7179855531CE99164721933](https://explorer.evm.iota.org/address/0x8D254a21b3C86D32F7179855531CE99164721933) | | ||
| Supra Pull Contract | [https://explorer.evm.iota.org/address/0x2FA6DbFe4291136Cf272E1A3294362b6651e8517](https://explorer.evm.iota.org/address/0x2FA6DbFe4291136Cf272E1A3294362b6651e8517) | | ||
| Supra Storage Contract | [https://explorer.evm.iota.org/address/0xD02cc7a670047b6b012556A88e275c685d25e0c9](https://explorer.evm.iota.org/address/0xD02cc7a670047b6b012556A88e275c685d25e0c9) | | ||
| Supra Push Contract | [https://explorer.evm.iota.org/address/0xD02cc7a670047b6b012556A88e275c685d25e0c9](https://explorer.evm.iota.org/address/0xD02cc7a670047b6b012556A88e275c685d25e0c9) | | ||
|
||
</TabItem> | ||
<TabItem value='shimmer' label='ShimmerEVM'> | ||
|
||
| Contract Type | Contract Address | | ||
|:----------------------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------:| | ||
| Pyth contract | [https://explorer.evm.shimmer.network/address/0x290f23E4a034Db5237edCb5aA2D94Acb4DD19fD2](https://explorer.evm.shimmer.network/address/0x290f23E4a034Db5237edCb5aA2D94Acb4DD19fD2) | | ||
| Supra Pull Contract | [https://explorer.evm.shimmer.network/address/0xe41444462709484272F54371F3f53bBF900Ec49E](https://explorer.evm.shimmer.network/address/0xe41444462709484272F54371F3f53bBF900Ec49E) | | ||
| Supra Storage Contract | [https://explorer.evm.shimmer.network/address/0x3E5E89d14576cE9f20a8347aA682517fe65B4ACB](https://explorer.evm.shimmer.network/address/0x3E5E89d14576cE9f20a8347aA682517fe65B4ACB) | | ||
| Supra Push Contract | [https://explorer.evm.shimmer.network/address/0x3df842b27c997cEc63160E79CB4398c82645A1c3](https://explorer.evm.shimmer.network/address/0x3df842b27c997cEc63160E79CB4398c82645A1c3) | | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
:::tip Oracle Documentation | ||
|
||
You can find detailed documentation on the Oracles in their official documentation: | ||
|
||
* [Pyth Oracle Docs](https://docs.pyth.network/price-feeds/contract-addresses/evm) | ||
* [Supra Pull Docs](https://gb-docs.supraoracles.com/docs/data-feeds/pull-model/networks) | ||
* [Supra Push Docs](https://gb-docs.supraoracles.com/docs/data-feeds/decentralized/networks) | ||
|
||
::: |
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,42 @@ | ||
--- | ||
description: Blast API is a decentralized platform providing scalable node infrastructure for accessing blockchain data, supporting multiple networks including IOTA EVM. | ||
keywords: | ||
- IOTA EVM | ||
- blockchain API | ||
- decentralized | ||
- node infrastructure | ||
- tools | ||
- Blast api | ||
- archive node | ||
image: /img/logo/WASP_logo_dark.png | ||
--- | ||
|
||
# Blast API | ||
|
||
[Blast API](https://blastapi.io/) is a decentralized platform that provides reliable and scalable node infrastructure | ||
for accessing blockchain data. It supports multiple blockchain networks, offering seamless integration and | ||
high-performance API endpoints for cross-chain decentralized applications (dApps). | ||
|
||
## Enhanced Performance and Reliability | ||
|
||
Blast API uses a decentralized network of third-party node providers, that ensure high availability and fast response | ||
times. This architecture provides resilient infrastructure services crucial for dApps requiring real-time data access. | ||
|
||
## Multi-Blockchain Support | ||
|
||
Besides IOTA EVM, Blast API supports a wide range of blockchain networks, allowing access to multiple blockchains | ||
through a single unified platform, therefore simplifying the development process and expanding the potential use cases | ||
for dApps. | ||
|
||
## Archival Nodes | ||
|
||
Blast API includes archival nodes, which store all historical transaction data from the blockchain’s | ||
genesis block to the present. This allows developers to query and retrieve past information, which is essential for | ||
applications needing access to comprehensive blockchain histories. | ||
|
||
|
||
:::tip Blast API Endpoints | ||
|
||
You can find a full list of Blast API endpoints in the [Networks & Endpoints section](networks-endpoints.mdx). | ||
|
||
::: |
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,106 @@ | ||
--- | ||
description: 'Learn about the role of subgraphs in smart contracts and how they can provide indexed blockchain data to your smart contracts.' | ||
image: /img/logo/WASP_logo_dark.png | ||
tags: | ||
- Blockchain subgraphs | ||
- Smart Contracts | ||
- Shimmer EVM | ||
- IOTA EVM | ||
--- | ||
|
||
# Subgraphs | ||
|
||
:::info tl;dr; | ||
|
||
Subgraphs provide a streamlined way for developers to access blockchain data relevant to their applications, | ||
significantly enhancing developer efficiency and user experience. | ||
|
||
::: | ||
|
||
Subgraphs collect and organize blockchain data by application needs, making it readily accessible for developers. Unlike | ||
blockchains that store data without application context, subgraphs allow you to quickly retrieve information pertinent | ||
to your application and simplify real-time data access, facilitating the creation of | ||
dynamic user interfaces and interactions in your applications. | ||
|
||
## Subgraph Components and Operations | ||
|
||
Subgraphs are built on [GraphQL](https://graphql.org/) APIs, enabling you to query on-chain transaction data | ||
efficiently. | ||
This feature is particularly useful for developers working with complex smart contracts requiring detailed frontend | ||
interfaces. For instance, querying transactions within a specific liquidity pool becomes straightforward with subgraphs. | ||
By defining a schema and indexing event data, you can utilize the generated GraphQL API for effective data querying. | ||
|
||
### Subgraph Manifest | ||
|
||
The manifest details the smart contracts your subgraph indexes, the events it tracks, and how event data is mapped to | ||
queryable entities. This foundational document ensures your subgraph accurately reflects the blockchain data your | ||
application needs. | ||
|
||
### Subgraph Schema | ||
|
||
The schema organizes your subgraph data, defining entities like pools in DeFi applications, and their attributes. It is | ||
crucial for structuring your data to support efficient queries. | ||
|
||
### Subgraph Mappings | ||
|
||
Mappings process incoming blockchain events, specified in your [manifest](#subgraph-manifest), and store them | ||
according to your [schema](#subgraph-schema). | ||
These [AssemblyScript](https://www.assemblyscript.org/) codes are essential for translating raw blockchain data into a | ||
format your application can easily query. | ||
|
||
## Popular Use Cases for Subgraphs | ||
|
||
Subgraphs have found widespread adoption in various blockchain applications, from DeFi to NFTs and DAOs, due to their | ||
ability to index and query data effectively. | ||
|
||
* **Custom Smart Contract Indexing**: Ideal for developers needing to index data for unique smart contracts, especially | ||
those creating frontend interfaces. | ||
* **Decentralized Finance (DeFi)**: Subgraphs provide real-time data on token prices, liquidity, and more, enhancing | ||
DeFi | ||
applications. | ||
* **Non-fungible Tokens (NFTs)**: They allow for efficient querying of NFT ownership, transaction history, and off-chain | ||
data. | ||
* **Decentralized Autonomous Organizations (DAOs)**: Subgraphs facilitate on-chain decision-making and data analysis for | ||
DAOs. | ||
* **Gaming**: They support real-time data access, improving gameplay and in-game transactions. | ||
|
||
## Benefits of Using Subgraphs | ||
|
||
Subgraphs offer a developer-friendly approach to blockchain data indexing, compatible with various blockchains and | ||
enhancing application security and resilience. | ||
|
||
* **Ease of Use**: With familiar tools like AssemblyScript and GraphQL, subgraphs are accessible to developers, | ||
simplifying | ||
the backend data management. | ||
* **Cross-Blockchain Compatibility**: They work across multiple EVM-compatible networks, allowing applications to | ||
operate | ||
seamlessly on different blockchains. | ||
* **Security and Decentralization**: Opting for decentralized querying with subgraphs can reduce reliance on single data | ||
sources, increasing application robustness. | ||
|
||
## Subgraph Providers | ||
|
||
### Goldsky | ||
|
||
[Goldsky](https://goldsky.com/products/subgraphs) [supports IOTA EVM](https://docs.goldsky.com/chains/iota). | ||
You can use their public API endpoints to access subgraph data. | ||
|
||
:::tip Run a Local Graph Node | ||
|
||
You can use [Nakama's Graph Node GitHub repository](https://github.com/nakamaio/graph-node) to run your own Graph Node. | ||
|
||
::: | ||
|
||
:::tip Blast API Archival Nodes | ||
|
||
You can use the convenient Blast API on IOTA EVM to access [archival nodes](blastAPI.md#archival-nodes). | ||
|
||
::: | ||
|
||
:::tip Wasp Access Nodes | ||
|
||
You can find more information on how to connect to an access node in the | ||
[#nodesharing channel](https://discordapp.com/channels/397872799483428865/398600007378272256) on the [IOTA Discord](https://discord.iota.org/). | ||
|
||
::: | ||
|
Oops, something went wrong.