You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/apps/application-design-considerations.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ There are four custody options to consider:
11
11
12
12
- Non-custodial service - the user of the application stores their own secret key
13
13
- Custodial service - the service provider (application) stores the users’ secret keys
14
-
- Mixture of both - with the use of [multisig](../../learn/encyclopedia/security/signatures-multisig.mdx), this option is useful for maintaining non-custodial status while still allowing for account recovery
14
+
- Mixture of both - with the use of [multisig](../../learn/fundamentals/transactions/signatures-multisig.mdx), this option is useful for maintaining non-custodial status while still allowing for account recovery
15
15
- Third-party key management services - integrate a third-party custodial service into your application that can store your users’ secret keys
16
16
17
17
### Non-custodial service
@@ -28,7 +28,7 @@ Many custodial services choose to use a single pooled Stellar account (called sh
28
28
29
29
### A mixture of non-custodial and custodial
30
30
31
-
Building an application with [multi-signature](../../learn/encyclopedia/security/signatures-multisig.mdx) capabilities allows you to have a non-custodial service with account recovery. If the user loses their secret key, they can still sign transactions with other authorized signatures, granted the signature threshold is high enough.
31
+
Building an application with [multi-signature](../../learn/fundamentals/transactions/signatures-multisig.mdx) capabilities allows you to have a non-custodial service with account recovery. If the user loses their secret key, they can still sign transactions with other authorized signatures, granted the signature threshold is high enough.
With the given parameters, this function will create a transaction that will:
234
234
235
235
1. Set `deviceKp` as the primary account key. Please note that the master key belonging to `accountKp` will be locked. `deviceKp` should be used as a primary signer instead.
236
-
2. Set all operation thresholds to 10. You can read more about threshold in the [documentation](../../../learn/encyclopedia/security/signatures-multisig.mdx#thresholds)
236
+
2. Set all operation thresholds to 10. You can read more about threshold in the [documentation](../../../learn/fundamentals/transactions/signatures-multisig.mdx#thresholds)
237
237
3. Use identities that were defined earlier on both servers. (That means, both server will accept SEP-10 authentication via `recoveryKp` as an auth method)
238
238
4. Set device key weight to 10, and recovery server weight to 5. Given these account thresholds, both servers must be used to recover the account, as transaction signed by one will only have weight of 5, which is not sufficient to change account key.
Copy file name to clipboardExpand all lines: docs/build/guides/tokens/custom-sac-admin.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The following example will create a new Stellar asset, `STAR:GCS5NEHKJALCSVJAKIO
39
39
40
40
:::note
41
41
42
-
We will not demonstrate setting a new `G...` account as a SAC admin in this guide. Any use-case that needs asset administration delegated to another `G...` account will likely be better served by taking advantage of the existing [multisig capabilities](../../../learn/encyclopedia/security/signatures-multisig.mdx) of Stellar accounts.
42
+
We will not demonstrate setting a new `G...` account as a SAC admin in this guide. Any use-case that needs asset administration delegated to another `G...` account will likely be better served by taking advantage of the existing [multisig capabilities](../../../learn/fundamentals/transactions/signatures-multisig.mdx) of Stellar accounts.
Copy file name to clipboardExpand all lines: docs/learn/fundamentals/transactions/list-of-operations.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -249,7 +249,7 @@ Set options for an account such as flags, inflation destination, signers, home d
249
249
250
250
Learn more about flags: [Flags Encyclopedia Entry](../../glossary.mdx#flags)
251
251
Learn more about the home domain: [Stellar Ecosystem Proposals SEP-0001](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0001.md)
252
-
Learn more about signers operations and key weight: [Signature and Multisignature Encyclopedia Entry](../../encyclopedia/security/signatures-multisig.mdx)
252
+
Learn more about signers operations and key weight: [Signature and Multisignature Encyclopedia Entry](../../fundamentals/transactions/signatures-multisig.mdx)
**Threshold**: High (when updating signers or other thresholds) or Medium (when updating everything else)
@@ -262,9 +262,9 @@ Learn more about signers operations and key weight: [Signature and Multisignatur
262
262
| Clear flags | integer | Indicates which [account](../stellar-data-structures/accounts.mdx) flags to clear. These account-level flags are primarily used by asset issuers. For details about the flags, please refer to the [Asset Design Considerations page](../../../tokens/control-asset-access.mdx). The bit mask integer subtracts from the existing flags of the account. This allows for setting specific bits without knowledge of existing flags. |
263
263
| Set flags | integer | Indicates which [account](../stellar-data-structures/accounts.mdx) flags to set. These account-level flags are primarily used by asset issuers. For details about the flags, please refer to the [Asset Design Considerations page](../../../tokens/control-asset-access.mdx#controlling-access-to-an-asset-with-flags) The bit mask integer adds onto the existing flags of the account. This allows for setting specific bits without knowledge of existing flags. |
264
264
| Master weight | integer | A number from 0-255 (inclusive) representing the weight of the master key. If the weight of the master key is updated to 0, it is effectively disabled. |
265
-
| Low threshold | integer | A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have [a low threshold](../../encyclopedia/security/signatures-multisig.mdx). |
266
-
| Medium threshold | integer | A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have [a medium threshold](../../encyclopedia/security/signatures-multisig.mdx). |
267
-
| High threshold | integer | A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have [a high threshold](../../encyclopedia/security/signatures-multisig.mdx). |
265
+
| Low threshold | integer | A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have [a low threshold](../../fundamentals/transactions/signatures-multisig.mdx). |
266
+
| Medium threshold | integer | A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have [a medium threshold](../../fundamentals/transactions/signatures-multisig.mdx). |
267
+
| High threshold | integer | A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have [a high threshold](../../fundamentals/transactions/signatures-multisig.mdx). |
268
268
| Home domain | string | Sets the home domain of an account. See [Federation](../../glossary.mdx#federation). |
269
269
| Signer |\{Public Key, weight} | Add, update, or remove a signer from an account. Signer weight is a number from 0-255 (inclusive). The signer is deleted if the weight is 0. |
Copy file name to clipboardExpand all lines: docs/learn/fundamentals/transactions/operations-and-transactions.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Operations are individual commands that modify the ledger. Operations are used t
17
17
18
18
All operations fall into one of three threshold categories: low, medium, or high, and each threshold category has a weight between 0 and 255 (which can be determined using set_options). Thresholds determine what signature weight is required for the operation to be accepted. For example, let’s say an account sets the medium threshold weight to 5. If the account wants to successfully establish a trustline with the `changeTrust` operation, the weight of the signature(s) must be greater than or equal to 5.
19
19
20
-
To learn more about signature weight, see the [Signature and Multisignature Encyclopedia Entry](../../encyclopedia/security/signatures-multisig.mdx).
20
+
To learn more about signature weight, see the [Signature and Multisignature Encyclopedia Entry](../../fundamentals/transactions/signatures-multisig.mdx).
21
21
22
22
View a comprehensive list of Stellar operations and their threshold levels in the [List of Operations section](./list-of-operations.mdx).
23
23
@@ -29,7 +29,7 @@ Accounts can only perform one transaction at a time.
29
29
30
30
Transactions comprise a bundle of between 1-100 operations (except smart contract transactions, which can only have one operation per transaction) and are signed and submitted to the ledger by accounts. Transactions always need to be authorized by the source account’s public key to be valid, which involves signing the transaction object with the public key’s associated secret key. A transaction plus its signature(s) is called a transaction envelope.
31
31
32
-
A transaction may need more than one signature- this happens if it has operations that affect more than one account or if it has a high threshold weight. Check out the [Signature and Multisignature Encyclopedia Entry](../../encyclopedia/security/signatures-multisig.mdx) for more information.
32
+
A transaction may need more than one signature- this happens if it has operations that affect more than one account or if it has a high threshold weight. Check out the [Signature and Multisignature Encyclopedia Entry](../../fundamentals/transactions/signatures-multisig.mdx) for more information.
33
33
34
34
Transactions are atomic. Meaning if one operation in a transaction fails, all operations fail, and the entire transaction is not applied to the ledger.
35
35
@@ -41,7 +41,7 @@ Smart contract transactions also go through a simulation process where developer
41
41
42
42
-[Fee](../fees-resource-limits-metering.mdx)
43
43
-[List of operations](./list-of-operations.mdx)
44
-
-[List of signatures](../../encyclopedia/security/signatures-multisig.mdx)
44
+
-[List of signatures](../../fundamentals/transactions/signatures-multisig.mdx)
45
45
-[Memo or muxed account](../../encyclopedia/transactions-specialized/pooled-accounts-muxed-accounts-memos.mdx)
0 commit comments