-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lab: saved keypairs + build and saved transactions (#1103)
* Update screenshots + Saved Keypairs doc * Lab: build transaction page * Lab: saved transactions * Add links to Lab
- Loading branch information
Showing
11 changed files
with
73 additions
and
2 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
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,55 @@ | ||
# Transactions | ||
|
||
## [Build Transaction](https://lab.stellar.org/transaction/build) | ||
|
||
![Lab: Build Transaction](/assets/lab/lab-transactions-build.png) | ||
|
||
You can access the "Build Transaction" page by clicking the "Transactions" link in the Lab's top navigation. The transaction builder UI has helpful messages, links, and input validation to make learning how to build transactions on the Stellar network easier. There are three main sections: params, operations, and transaction validation (error or success). | ||
|
||
### Params | ||
|
||
A Stellar transaction requires a source account, transaction sequence number, and a base fee. Memo and time bounds are optional. | ||
|
||
Once you enter a valid public address in the "Source Account" input, you can automatically fetch the sequence number by clicking the "Fetch next sequence" button. | ||
|
||
The base fee is 100 by default, but you may need to increase the fee if the network is congested. | ||
|
||
### Operations | ||
|
||
![Lab: Transaction operations](/assets/lab/lab-transactions-ops.png) | ||
|
||
A transaction requires at least one operation, but Stellar supports up to 100 operations in a single transaction. | ||
|
||
Select the operation type from the dropdown to get the fields for that operation type, and fill them out as needed. | ||
|
||
If you wish to add more operations, click the "Add Operation" button at the bottom of the operations section. You can also duplicate, delete, and move the operation by clicking the appropriate button on the upper right of the individual operation section. | ||
|
||
You can also save a valid transaction by clicking the save button at the bottom of the operations section. You will need to enter a name for this transaction in a pop-up and click the "Save" button. The transactions are saved in the browser's local storage and can be found on the "Saved Transactions" page (accessed by clicking the link in the left-side navigation). | ||
|
||
Clicking the share button (right next to the save button) allows you to share a link with all the transaction information provided. You can share any transaction, even if it's invalid or incomplete. | ||
|
||
### Transaction Validation | ||
|
||
![Lab: Transaction validation success](/assets/lab/lab-transactions-response-success.png) | ||
|
||
The validation section at the bottom of the page shows the built transaction information if everything is correct. Clicking the "Sign in Transaction Signer" button will take you to the "Sign Transaction" page, where you can sign the transaction. You can also click the "View in XDR viewer" button to view the JSON of the built transaction. | ||
|
||
If there are errors in this transaction, you will see them grouped by section (params and every operation) to make it easier to tell what needs fixing. | ||
|
||
![Lab: Transaction validation error](/assets/lab/lab-transactions-response-error.png) | ||
|
||
## [Saved Transactions](https://lab.stellar.org/transaction/saved) | ||
|
||
![Lab: Saved Transactions](/assets/lab/lab-transactions-saved.png) | ||
|
||
On this page, you'll see transactions saved in your browser's local storage. It only shows the transactions on the selected network, which you can change in the upper right corner. | ||
|
||
Saved transactions have the following: | ||
|
||
1. Name - makes finding the transaction you're looking for easy. You can update the name anytime by clicking the edit button and saving the new name. | ||
2. Operations - list of operations in this transaction. | ||
3. Delete the saved transaction. | ||
4. The last saved date and time. | ||
5. The share button to get a shareable link to this transaction. | ||
6. Transactions saved on the "Transaction Builder" page have the "View in builder" button to take you to the "Build Transaction" page. | ||
7. Transactions saved on the "Submit Transaction" page have the "View in submitter" button to take you to that page. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.