Skip to content

Commit

Permalink
fix: broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jun 27, 2024
1 parent d756c48 commit ce079d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/learn/cross-chain/cross-chain-transfer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The transfer process will always use the same contract methods and follow these

There are a few preparation steps required before a cross chain transfer, which need to be done only once for each chain. If these steps are already completed, you can skip this part.

Let's say you want to transfer token **FOO** from chain **A** to chain **B**. Before you start, make sure you understand how cross chain transaction verification works. Any input containing `MerklePath` in the following steps means that cross chain verification is needed. Refer to the [cross chain verification documentation](crosschain-verification) for more details.
Let's say you want to transfer token **FOO** from chain **A** to chain **B**. Before you start, make sure you understand how cross chain transaction verification works. Any input containing `MerklePath` in the following steps means that cross chain verification is needed. Refer to the [cross chain verification documentation](/learn/cross-chain/cross-chain-verification/) for more details.

- **Validate `Token Contract` address on chain A**

Expand All @@ -34,7 +34,7 @@ Let's say you want to transfer token **FOO** from chain **A** to chain **B**. Be

- **Register the token contract address of chain A on chain B**

Create a proposal for the `RegisterCrossChainTokenContractAddress` for the default parliament organization on chain B. Refer to the [Parliament contract documentation](../../reference/smart-contract-api/parliament) for more details. Apart from cross chain verification context, you also need to provide the origin data of `tx_1` and the `Token Contract` address on chain A.
Create a proposal for the `RegisterCrossChainTokenContractAddress` for the default parliament organization on chain B. Refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for more details. Apart from cross chain verification context, you also need to provide the origin data of `tx_1` and the `Token Contract` address on chain A.

```protobuf
rpc RegisterCrossChainTokenContractAddress (RegisterCrossChainTokenContractAddressInput) returns (google.protobuf.Empty) {}
Expand Down
4 changes: 2 additions & 2 deletions docs/quick-start/explore-running-aelf-side-chain/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ Anyone can request the creation of a side chain in the aelf ecosystem. The propo

### API for Proposing Side Chain Creation

The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](../../../reference/smart-contract-api/cross-chain).
The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/).

Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](../../../reference/smart-contract-api/parliament) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](../../../reference/smart-contract-api/cross-chain).
Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/).

Once the side chain is created, the `SideChainCreatedEvent` containing the chain ID will be fired.

Expand Down

0 comments on commit ce079d6

Please sign in to comment.