Skip to content

Commit

Permalink
Fix links & Update get RING (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest authored Apr 30, 2024
1 parent 31411a9 commit c5ac090
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Commitment Token Precompile

Before delving into the understanding of this precompile, it's essential to have knowledge about the [Commitment Token](../../stake/commitment-token.md), within the Darwinia ecosystem. In the architecture of Darwinia, the native token is designed to be fundamentally compatible with Ethereum. This means that the native token can be seamlessly used in Ethereum-compatible environments without requiring extensive modifications or adaptations. It provides out-of-the-box compatibility, allowing users to interact with the native token using Ethereum tools and infrastructure. However, the commitment token in the Darwinia system operates differently. It is a separate standalone token that functions within the Darwinia ecosystem. The commitment token is implemented by a pallet called the [pallet-asset](https://marketplace.substrate.io/pallets/pallet-assets/), which is part of the Substrate ecosystem. The pallet-asset facilitates the management of the commitment token, including features such as token transfers, balances, and other related operations.
Before delving into the understanding of this precompile, it's essential to have knowledge about the commitment token, within the Darwinia ecosystem. In the architecture of Darwinia, the native token is designed to be fundamentally compatible with Ethereum. This means that the native token can be seamlessly used in Ethereum-compatible environments without requiring extensive modifications or adaptations. It provides out-of-the-box compatibility, allowing users to interact with the native token using Ethereum tools and infrastructure. However, the commitment token in the Darwinia system operates differently. It is a separate standalone token that functions within the Darwinia ecosystem. The commitment token is implemented by a pallet called the [pallet-asset](https://marketplace.substrate.io/pallets/pallet-assets/), which is part of the Substrate ecosystem. The pallet-asset facilitates the management of the commitment token, including features such as token transfers, balances, and other related operations.

Similar to the staking and deposit precompiles, the commitment token also requires a dedicated precompile to enhance its usability for users of Ethereum tools. This precompile acts as a bridge, simplifying the interaction between Ethereum users and the commitment token. By leveraging this precompile, Ethereum users can seamlessly interact with the commitment token using their familiar Ethereum workflows and tools, such as MetaMask.

Expand Down
2 changes: 1 addition & 1 deletion docs/learn/ethereum-compatibility/precompiles/deposit.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deposit Precompile

The [Darwinia staking solution](../../stake/staking.md) consists of two components, including the staking pallet and the deposit pallet. Each of these pallets has its own precompile functionality, which is specifically designed to facilitate interaction for Ethereum users. In this context, we will focus on the deposit precompile. By leveraging the deposit precompile, Ethereum users can conveniently deposit their assets into the Darwinia network and participate in the staking process.
The [Darwinia staking solution](../../collator-staking.md) consists of two components, including the staking pallet and the deposit pallet. Each of these pallets has its own precompile functionality, which is specifically designed to facilitate interaction for Ethereum users. In this context, we will focus on the deposit precompile. By leveraging the deposit precompile, Ethereum users can conveniently deposit their assets into the Darwinia network and participate in the staking process.

## Contract Info

Expand Down
2 changes: 1 addition & 1 deletion docs/learn/ethereum-compatibility/precompiles/staking.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Staking Precompile

To fully understand the concept of the precompile and its significance in the context of the Darwinia staking solution, it is important to have a grasp of the overall design of the staking solution. [The Darwinia staking](../../stake/staking.md) solution is implemented as a pallet, which is a modular component in the Substrate framework. Pallets are native to Substrate and provide a way to encapsulate and organize blockchain logic. However, they are not inherently compatible with Ethereum tools and infrastructure. One consequence of this design is that accessing the staking API with tools like MetaMask, which are commonly used in Ethereum development, is not possible out of the box. This is because MetaMask expects to interact with Ethereum-compatible contracts and APIs, and the staking solution implemented as a pallet in Darwinia does not natively adhere to those standards.
To fully understand the concept of the precompile and its significance in the context of the Darwinia staking solution, it is important to have a grasp of the overall design of the staking solution. [The Darwinia staking](../../collator-staking.md) solution is implemented as a pallet, which is a modular component in the Substrate framework. Pallets are native to Substrate and provide a way to encapsulate and organize blockchain logic. However, they are not inherently compatible with Ethereum tools and infrastructure. One consequence of this design is that accessing the staking API with tools like MetaMask, which are commonly used in Ethereum development, is not possible out of the box. This is because MetaMask expects to interact with Ethereum-compatible contracts and APIs, and the staking solution implemented as a pallet in Darwinia does not natively adhere to those standards.

To bridge this gap and enable interaction with the staking API using Ethereum tools, the staking precompile comes into play. The staking precompile refers to a specific implementation that exposes the staking API in a format that is compatible with Ethereum tools such as MetaMask. By utilizing the staking precompile, developers can seamlessly integrate the Darwinia staking solution with their Ethereum workflows and tools.

Expand Down
12 changes: 2 additions & 10 deletions docs/learn/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@ Great question! Before the [Merge](https://medium.com/darwinianetwork/darwinia-2

## Where can I buy Darwinia Tokens?

[Darwinia's native token](../ring-dao.md), can be purchased from various centralized and decentralized cryptocurrency exchanges. According to [CoinMarketCap](https://coinmarketcap.com/currencies/darwinia-network/), the top exchanges for trading in Darwinia Network (RING tokens) are currently Huobi, Gate.io, MEXC, Poloniex, and CoinEx. [CoinGecko](https://www.coingecko.com/en/coins/darwinia-network) also lists MEXC, Gate.io, and CoinEx as popular exchanges for trading RING tokens.

Here's an example of how to buy RING tokens:

1. Create an account on any of the exchanges mentioned above, verify
your identity, and set up 2-factor authentication for added security.
2. Deposit funds into your account. This could be in the form of fiat
currency like USD or another cryptocurrency like Bitcoin or Ethereum.
3. Navigate to the appropriate trading pair (e.g., RING/USD or RING/BTC) and place a buy order.
See [Where to get RING](https://darwinia.network/#/get-ring).

## I want to apply for a treasury grant. What kind of projects do you prefer? How do you measure a project?

Expand All @@ -43,7 +35,7 @@ In particular, we require all projects to create documentation that explains how

Finally, we take licensing and the right of all teams in and outside the ecosystem to be recognized for their work very seriously. Using others' work with no attribution or indication that this was not your own work as part of a milestone delivery will lead to immediate termination. Please reach out to us before submitting if you have any doubts on how to comply with a specific license and we'll be happy to help.

For more info, please refer to [Developer Incentive Program](../ecosystem.md).
For more info, please refer to [Developer Incentive Program](../community/overview.md#community-collaboration).

## If I have an application that is running on Darwinia Chain. Can I get a monthly-periodic payment grant?

Expand Down

0 comments on commit c5ac090

Please sign in to comment.