Skip to content

Commit a75b659

Browse files
committed
conform links to style guide
1 parent 362fb4d commit a75b659

2 files changed

Lines changed: 17 additions & 18 deletions

File tree

hive/caip10.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ requires: ["CAIP-2", "CAIP-10"]
1111

1212
# CAIP-10
1313

14-
For context, see the CAIP-10 specification:
15-
https://chainagnostic.org/CAIPs/caip-10
14+
For context, see the [CAIP-10] specification.
1615

1716
## Rationale
1817

@@ -25,11 +24,11 @@ Each Hive account name:
2524
- Is validated at the protocol level
2625
- Is constrained by naming rules enforced by consensus
2726

28-
Because Hive accounts are stable identifiers and tied to a specific chain via `chain_id`, they are suitable for CAIP-10 account identifiers.
27+
Because Hive [accounts] are stable identifiers and tied to a specific chain via `chain_id`, they are suitable for CAIP-10 account identifiers.
2928

3029
## Specification
3130

32-
A Hive CAIP-10 account identifier MUST follow:
31+
A Hive [CAIP-10] account identifier MUST follow:
3332

3433
`hive:<reference>:<account>`
3534

@@ -134,10 +133,10 @@ hive:beeab0de000000000000000000000000:has..double
134133

135134
## References
136135

137-
- Hive configuration and account rules:
138-
https://developers.hive.io/tutorials-recipes/understanding-configuration-values.html
139-
- CAIP-10 specification:
140-
https://chainagnostic.org/CAIPs/caip-10
136+
- Hive configuration and [accounts] model
137+
138+
[accounts]: https://developers.hive.io/tutorials-recipes/understanding-configuration-values.html
139+
[CAIP-10]: https://chainagnostic.org/CAIPs/caip-10
141140

142141
## Copyright
143142

hive/caip2.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ requires: CAIP-2
1111

1212
# CAIP-2
1313

14-
For context, see the CAIP-2 specification:
15-
https://chainagnostic.org/CAIPs/caip-2
14+
For context, see the [CAIP-2] specification:
1615

1716
## Rationale
1817

@@ -25,7 +24,7 @@ Because CAIP-2 restricts the `reference` field to a maximum of 32 characters, th
2524
This approach ensures:
2625

2726
- Deterministic chain identification
28-
- Compatibility with CAIP-2 length constraints
27+
- Compatibility with [CAIP-2] length constraints
2928
- Collision resistance appropriate for blockchain network identifiers
3029
- Alignment with other CAIP-2 namespace implementations
3130

@@ -44,7 +43,7 @@ The `reference` MUST:
4443

4544
### Resolution
4645

47-
To derive a valid CAIP-2 identifier:
46+
To derive a valid [CAIP-2] identifier:
4847

4948
1. Query a Hive node using `database_api.get_config`.
5049
2. Retrieve the `HIVE_CHAIN_ID` value from the response.
@@ -87,9 +86,9 @@ CAIP-2: `hive:42000000000000000000000000000000` (zero-padded to 32 hex character
8786
8887
## Security Considerations
8988

90-
Applications MUST validate network configuration before accepting CAIP-2 identifiers.
89+
Applications MUST validate network configuration before accepting [CAIP-2] identifiers.
9190

92-
Hive uses account-based identity rather than address-based identity. Applications implementing CAIP-10 should validate account existence via RPC.
91+
Hive uses account-based identity rather than address-based identity. Applications implementing [CAIP-10] should validate account existence via RPC.
9392

9493
## Test Cases
9594

@@ -100,10 +99,11 @@ hive:42000000000000000000000000000000
10099

101100
## References
102101

103-
- Hive configuration documentation:
104-
https://developers.hive.io/tutorials-recipes/understanding-configuration-values.html
105-
- CAIP-2 specification:
106-
https://chainagnostic.org/CAIPs/caip-2
102+
- Hive [configuration]
103+
104+
[CAIP-2]: https://chainagnostic.org/CAIPs/caip-2
105+
[CAIP-10]: https://chainagnostic.org/CAIPs/caip-10
106+
[configuration]: https://developers.hive.io/tutorials-recipes/understanding-configuration-values.html
107107

108108
## Copyright
109109

0 commit comments

Comments
 (0)