Skip to content

Commit ef83dae

Browse files
Add back CLI guides (stellar#982)
* add protocol 22 to software versions * remove p22 stuff to deal with CLI stuff * Update .gitignore * formatting & update Stellar CLI * make cli mdx files into stubs, with note about content generation * change links back to use mdx extensions * remove useless changes from gitignore file. my bad --------- Co-authored-by: Elliot Voris <[email protected]>
1 parent 09b65f8 commit ef83dae

13 files changed

+79
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ yarn-error.log*
2626
# non-production openrpc.json files
2727
/openrpc/*openrpc.json
2828

29-
stellar-cli-repo
29+
stellar-cli-repo
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Contract Lifecycle
3+
hide_table_of_contents: true
4+
description: Manage the lifecycle of a Stellar smart contract using the CLI
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Deploy a contract from installed Wasm bytecode
3+
hide_table_of_contents: true
4+
description: Deploy an instance of a compiled contract that is already installed on the network
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Deploy the Stellar Asset Contract for a Stellar asset
3+
hide_table_of_contents: true
4+
description: Deploy an SAC for a Stellar asset so that it can interact with smart contracts
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Extend a deployed contract instance's TTL
3+
hide_table_of_contents: true
4+
description: Use the CLI to extend the time to live (TTL) of a contract instance
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Extend a deployed contract's storage entry TTL
3+
hide_table_of_contents: true
4+
description: Use the CLI to extend the time to live (TTL) of a contract's persistent storage entry
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Extend a deployed contract's Wasm code TTL
3+
hide_table_of_contents: true
4+
description: Use Stellar CLI to extend contract's Wasm bytecode TTL, with or without local binary
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Install and deploy a smart contract
3+
hide_table_of_contents: true
4+
description: Combine the install and deploy commands in the Stellar CLI to accomplish both tasks
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Install Wasm bytecode
3+
hide_table_of_contents: true
4+
description: Use the Stellar CLI to install a compiled smart contract on the ledger
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Payments and Assets
3+
hide_table_of_contents: true
4+
description: Send XLM, stellar classic, or a soroban asset using the Stellar CLI
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Restore an archived contract using the Stellar CLI
3+
hide_table_of_contents: true
4+
description: Restore an archived contract instance using the Stellar CLI
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Restore archived contract data using the Stellar CLI
3+
hide_table_of_contents: true
4+
description: Restore archived contract storage entries using Stellar CLI
5+
---
6+
7+
Stub file: the real file is generated in build time by `yarn stellar-cli:build`.

docs/tokens/stellar-asset-contract.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: Use Stellar assets in smart contracts
1616

1717
The Stellar Asset Contract (SAC) is an implementation of [CAP-46-6 Smart Contract Standardized Asset] and [SEP-41 Token Interface] for Stellar [assets].
1818

19-
See examples of how to use the SAC in the [Tokens How-To Guides](../build/guides/tokens/).
19+
See examples of how to use the SAC in the [Tokens How-To Guides](../build/guides/tokens/README.mdx).
2020

2121
## Overview
2222

0 commit comments

Comments
 (0)