@@ -76,6 +76,7 @@ Tools for smart contract developers
76
76
###### ** Subcommands:**
77
77
78
78
* ` asset ` — Utilities to deploy a Stellar Asset Contract or get its id
79
+ * ` alias ` — Utilities to manage contract aliases
79
80
* ` bindings ` — Generate code client bindings for a contract
80
81
* ` build ` — Build a contract from source
81
82
* ` extend ` — Extend the time to live ledger of a contract-data ledger entry
@@ -151,6 +152,82 @@ Deploy builtin Soroban Asset Contract
151
152
152
153
153
154
155
+ ## ` stellar contract alias `
156
+
157
+ Utilities to manage contract aliases
158
+
159
+ ** Usage:** ` stellar contract alias <COMMAND> `
160
+
161
+ ###### ** Subcommands:**
162
+
163
+ * ` remove ` — Remove contract alias
164
+ * ` add ` — Add contract alias
165
+ * ` show ` — Show the contract id associated with a given alias
166
+
167
+
168
+
169
+ ## ` stellar contract alias remove `
170
+
171
+ Remove contract alias
172
+
173
+ ** Usage:** ` stellar contract alias remove [OPTIONS] <ALIAS> `
174
+
175
+ ###### ** Arguments:**
176
+
177
+ * ` <ALIAS> ` — The contract alias that will be removed
178
+
179
+ ###### ** Options:**
180
+
181
+ * ` --global ` — Use global config
182
+ * ` --config-dir <CONFIG_DIR> ` — Location of config directory, default is "."
183
+ * ` --rpc-url <RPC_URL> ` — RPC server endpoint
184
+ * ` --network-passphrase <NETWORK_PASSPHRASE> ` — Network passphrase to sign the transaction sent to the rpc server
185
+ * ` --network <NETWORK> ` — Name of network to use from config
186
+
187
+
188
+
189
+ ## ` stellar contract alias add `
190
+
191
+ Add contract alias
192
+
193
+ ** Usage:** ` stellar contract alias add [OPTIONS] --id <CONTRACT_ID> <ALIAS> `
194
+
195
+ ###### ** Arguments:**
196
+
197
+ * ` <ALIAS> ` — The contract alias that will be removed
198
+
199
+ ###### ** Options:**
200
+
201
+ * ` --global ` — Use global config
202
+ * ` --config-dir <CONFIG_DIR> ` — Location of config directory, default is "."
203
+ * ` --rpc-url <RPC_URL> ` — RPC server endpoint
204
+ * ` --network-passphrase <NETWORK_PASSPHRASE> ` — Network passphrase to sign the transaction sent to the rpc server
205
+ * ` --network <NETWORK> ` — Name of network to use from config
206
+ * ` --overwrite ` — Overwrite the contract alias if it already exists
207
+ * ` --id <CONTRACT_ID> ` — The contract id that will be associated with the alias
208
+
209
+
210
+
211
+ ## ` stellar contract alias show `
212
+
213
+ Show the contract id associated with a given alias
214
+
215
+ ** Usage:** ` stellar contract alias show [OPTIONS] <ALIAS> `
216
+
217
+ ###### ** Arguments:**
218
+
219
+ * ` <ALIAS> ` — The contract alias that will be displayed
220
+
221
+ ###### ** Options:**
222
+
223
+ * ` --global ` — Use global config
224
+ * ` --config-dir <CONFIG_DIR> ` — Location of config directory, default is "."
225
+ * ` --rpc-url <RPC_URL> ` — RPC server endpoint
226
+ * ` --network-passphrase <NETWORK_PASSPHRASE> ` — Network passphrase to sign the transaction sent to the rpc server
227
+ * ` --network <NETWORK> ` — Name of network to use from config
228
+
229
+
230
+
154
231
## ` stellar contract bindings `
155
232
156
233
Generate code client bindings for a contract
0 commit comments