Skip to content

Commit bf86386

Browse files
authored
Update Lab sections to include deploy contract, trustline, tutorials, and etc (#2201)
1 parent 30baf15 commit bf86386

File tree

12 files changed

+22
-18
lines changed

12 files changed

+22
-18
lines changed

docs/tools/lab/README.mdx

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,33 @@ sidebar_position: 30
99

1010
### [Stellar Lab](https://lab.stellar.org)
1111

12-
Stellar Lab is our new go-to tool for development, experimenting, and testing, as well as exploring APIs developers use to interact with the Stellar network. Whether you're a developer seeking to test transactions, explore RPC methods or Horizon endpoints, or dive deeper into the ecosystem, Stellar Lab provides a modern and user-friendly interface that makes the process smooth and intuitive.
12+
Stellar Lab is our go-to tool for development, experimenting, and testing, as well as [exploring APIs](https://lab.stellar.org/endpoints) developers use to interact with the Stellar network. Whether you're a developer seeking to [test transactions](https://lab.stellar.org/transaction/build), [deploy](https://lab.stellar.org/smart-contracts/deploy-contract) and [invoke smart contracts](https://lab.stellar.org/smart-contracts/contract-explorer), or explore RPC methods or Horizon endpoints, Stellar Lab provides a modern and user-friendly interface that makes the process smooth and intuitive.
1313

14-
![Lab: Homepage](/assets/lab/lab.png)
14+
![Lab: Homepage](/assets/lab/lab-01232026.png)
1515

1616
### Features of Stellar Lab
1717

18-
- Easily Create Accounts: Create Accounts on Mainnet, Testnet, and Futurenet using a web UI. You can use Friendbot to fund those accounts directly on Lab for Testnet and Futurenet.
19-
- Access RPC Methods and Horizon Endpoints: Leverage powerful Stellar RPC methods and Stellar Horizon endpoints in a web UI to interact with the Stellar network and obtain crucial data. Try RPC methods to get states from the ledger like accounts, trustlines, contract wasm, and more.
20-
- Simulate and Submit: Lab supports the ability to use custom RPC providers so that you could simulate transactions, save transactions, and submit transactions directly using Lab. You can also submit transactions using Horizon.
21-
- Save and Share API Requests: Easily save your requests and transactions for the future or share them with teammates to build faster together.
22-
- XDR ⇔ JSON Support: We have introduced a canonical [XDR to JSON mapping](https://www.npmjs.com/package/@stellar/stellar-xdr-json-web) which is used on Stellar Lab (also used in the [Stellar CLI](https://github.com/stellar/stellar-cli)). You can see this at work in the Lab where [XDR can be converted to JSON](https://lab.stellar.org/xdr/view).
23-
- Mobile Friendly: We heard that you use Lab on the mobile, so we optimized the Lab to have a mobile responsive layout.
18+
- **[Easily Create Accounts](https://lab.stellar.org/account/create)**: Create Accounts on Mainnet, Testnet, and Futurenet using a web UI. You can use [Friendbot](https://lab.stellar.org/account/fund?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&passphrase=Test%20SDF%20Network%20/;%20September%202015;;) to fund those accounts directly on Lab for Testnet and Futurenet. You can also add a trustline to USDC and EURC on Testnet.
2419

25-
![Lab XDR to JSON](/assets/lab/xdr-json-lab.png)
20+
- **[Smart Contract Deployment](https://lab.stellar.org/smart-contracts/deploy-contract)**: Deploy smart contracts directly from the Lab interface without needing command-line tools. Upload your contract WASM files and deploy them to the network with a user-friendly workflow.
2621

27-
These are the features that are available now. There will be more upcoming features to support smart contracts. We look forward to showing you the future of Stellar Lab.
22+
- **[Invoke Smart Contracts](https://lab.stellar.org/smart-contracts/contract-explorer)**: Interact with deployed smart contracts through an intuitive interface. Select contract functions, fill in parameters with type hints, simulate transactions, and invoke contract methods — all from your browser.
2823

29-
### Video Tutorial for Stellar Lab
24+
- **[Transaction Dashboard](https://lab.stellar.org/transaction-dashboard)**: View comprehensive transaction details including XDR, operations, results, and metadata. Explore transaction history, examine individual operations, and debug transaction failures with detailed error information.
25+
26+
- **[Access RPC Methods and Horizon Endpoints](https://lab.stellar.org/endpoints)**: Leverage powerful Stellar RPC methods and Stellar Horizon endpoints in a web UI to interact with the Stellar network and obtain crucial data. Try RPC methods to get states from the ledger like accounts, trustlines, contract WASM, and more.
27+
28+
- **[Simulate](https://lab.stellar.org/transaction/simulate) and [Submit](https://lab.stellar.org/transaction/submit)**: Lab supports the ability to use custom RPC providers so that you can simulate transactions, save transactions, and submit transactions directly using Lab. You can also submit transactions using Horizon.
3029

31-
- Video Tutorial for Lab from the [2024-11-14 developers meeting](/meetings/2024/11/14)
30+
- **[Save and Share API Requests](https://lab.stellar.org/endpoints/saved)**: Easily save your requests and transactions for the future or share them with teammates to build faster together.
3231

33-
### What About the Old Lab?
32+
- **[XDR ⇔ JSON Support](https://lab.stellar.org/xdr/view)**: We have introduced a canonical [XDR to JSON mapping](https://www.npmjs.com/package/@stellar/stellar-xdr-json-web) which is used on Stellar Lab (also used in the [Stellar CLI](https://github.com/stellar/stellar-cli)). You can see this at work in the Lab where [XDR can be converted to JSON](https://lab.stellar.org/xdr/view).
33+
34+
- **Mobile Friendly**: We heard that you use Lab on mobile, so we optimized the Lab to have a mobile responsive layout.
35+
36+
### Video Tutorial for Stellar Lab
3437

35-
In case you need it, the previous version of Stellar Lab is still accessible [here](https://old-lab.stellar.org). However, it will no longer be actively maintained. We encourage you to explore the new Lab and if you think there is anything that’s missing, please reach out to us on the [Stellar Github](https://github.com/stellar/laboratory/issues).
38+
- Video Tutorials for Lab are available on [Lumen Loop's YouTube Channel](https://www.youtube.com/watch?v=sv2gV13q7FI&list=PLj3KReXFn3x73pPlgSun-2FYTrP4tZVPL)
3639

3740
### Help Us Improve!
3841

docs/tools/lab/account.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sidebar_position: 10
88

99
## [Create Account Keypair](https://lab.stellar.org/account/create)
1010

11-
![Lab: Create Account](/assets/lab/lab-account-create.png)
11+
![Lab: Create Account](/assets/lab/lab-keypair-01232026.png)
1212

1313
From the Lab’s main navigation, click on the "Account" link to expand sub-navigation. Click the "Create Account Keypair" page. Here you can generate a [keypair](../../learn/glossary.mdx#keypair) by following these steps:
1414

@@ -33,14 +33,15 @@ The Friendbot can be used for new account or accounts with balance under a start
3333

3434
## [Fund Account](https://lab.stellar.org/account/fund)
3535

36-
![Lab: Fund Account](/assets/lab/lab-account-fund.png)
36+
![Lab: Fund Account](/assets/lab/lab-fund-01232026.png)
3737

3838
If you already have a keypair you want to fund, go to the "Fund Account" page (under the "Account" item in the main menu).
3939

4040
1. If you have generated a keypair on the "Create Account Keypair" page, you can use its public key by clicking the "Fill in the generated key" button. The button will be disabled if there is no keypair.
4141
2. You can always manually input a public key.
4242
3. Once you enter the public key, click the "Get lumens" button to fund the account with 10,000 XLM on the Testnet or Futurenet network.
4343
4. You will see a response message once the operation is completed.
44+
5. Once an account is funded with 10,000 XLM, you can create a trustline with USDC or EURC to interact with these assets.
4445

4546
:::info
4647

docs/tools/lab/smart-contracts/smart-contract-list.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ sidebar_position: 1
77

88
# Smart Contract List
99

10-
This page shows a list of Stellar smart contracts on the selected network. The table displays the smart contract ID or address, along with its creation date and time. Clicking on the contract address will direct you to the "Contract Explorer" page, where the selected address is pre-filled.
10+
This page shows a list of recent Stellar smart contracts on the selected network. On Mainnet, there's an option to view popular contracts list. The table displays the smart contract ID or address, along with its creation date and time. Clicking on the contract address will direct you to the "Contract Explorer" page, where the selected address is pre-filled.
1111

12-
![Lab: Smart Contract List](/assets/lab/lab-smart-contract-list.png)
12+
![Lab: Smart Contract List](/assets/lab/smart-contract-list-01232026.png)

static/assets/lab/lab-01232026.png

376 KB
Loading
-61 KB
Binary file not shown.
-50.3 KB
Binary file not shown.
532 KB
Loading
459 KB
Loading
-236 KB
Binary file not shown.

static/assets/lab/lab.png

-97 KB
Binary file not shown.

0 commit comments

Comments
 (0)