Skip to content

Commit

Permalink
Refactor connect_wallet and send_transaction methods in user guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
nessshon committed Jan 18, 2024
1 parent 9d1fd0c commit 266f849
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial/user-guide/connecting-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
The main control class is which is responsible for managing the transition of windows, connecting a
wallet and sending transactions.

- **open_connect_wallet_window:**
- **connect_wallet:**
The main method of the ATCManager class, used to present the wallet connection window to users.

- **ConnectWalletCallbacks:**
The core set of callbacks required by the open_connect_wallet_window method. It plays a decisive role in circulation
The core set of callbacks required by the connect_wallet method. It plays a decisive role in circulation
actions during and after the wallet connection process.

- **before_callback:**
Expand All @@ -22,7 +22,7 @@
transmits comprehensive information for processors.

The ATCManager class is automatically distributed to all handlers as an atc_manager object via middleware.
The `open_connect_wallet_window` method, requiring one argument, ConnectWalletCallbacks acts as a gateway to present the
The `connect_wallet` method, requiring one argument, ConnectWalletCallbacks acts as a gateway to present the
wallet connection window. This set of callbacks, consisting of `before_callback` and `after_callback`.

**Callback examples:**
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/user-guide/sending-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ wallet.

## Description

- **open_send_transaction_window:**
- **send_transaction:**
The main method of the ATCManager class, used to present users with a window for sending and confirming a transaction.

- **SendTransactionCallbacks:**
The core set of callbacks required by the `open_send_transaction_window` method. It plays a decisive role in
The core set of callbacks required by the `send_transaction` method. It plays a decisive role in
circulation actions during sending and after confirmation of the transaction.

## Callback Examples
Expand Down

0 comments on commit 266f849

Please sign in to comment.