From e1faad86a593a5ea4f914a49664a96f65d7e8e55 Mon Sep 17 00:00:00 2001 From: iosh Date: Fri, 9 Aug 2024 15:03:18 +0800 Subject: [PATCH 1/7] Add Conflux namespace --- conflux/README.md | 26 ++++++++++++++ conflux/caip10.md | 68 +++++++++++++++++++++++++++++++++++ conflux/caip2.md | 90 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 184 insertions(+) create mode 100644 conflux/README.md create mode 100644 conflux/caip10.md create mode 100644 conflux/caip2.md diff --git a/conflux/README.md b/conflux/README.md new file mode 100644 index 0000000..1d69362 --- /dev/null +++ b/conflux/README.md @@ -0,0 +1,26 @@ +--- +namespace-identifier: conflux +title: Conflux Network +author: iosh (@iosh) +status: Draft +type: Informational +created: 2024-08-09 +--- + +# Namespace for Conflux Network blockchains + +This document defines the applicability of CAIP schemes to the blockchain of the Conflux network(core space) ecosystem. + +## Syntax + +The namespace "conflux" refers to the Conflux Network(core space), its forks, devnets and testnets. + +## References + +[Conflux network website]: https://confluxnetwork.org/ +[Conflux Docs site]: https://doc.confluxnetwork.org/docs/core/core-space-basics/addresses +[Addresses]: https://doc.confluxnetwork.org/docs/core/core-space-basics/addresses + +## Copyright + +Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). diff --git a/conflux/caip10.md b/conflux/caip10.md new file mode 100644 index 0000000..5147790 --- /dev/null +++ b/conflux/caip10.md @@ -0,0 +1,68 @@ +--- +namespace-identifier: conflux-caip10 +title: Conflux Namespace - Addresses +author: iosh(@iosh) +status: Draft +type: Standard +created: 2024-08-09 +requires: ["CAIP-2", "CAIP-10"] +--- + +# CAIP-10 + +_For context, see the [CAIP-10][] specification._ + +## Rationale + +The Conflux Network EOA address is base32-encoded address it is derived directly from the hex-encoded addresses including a distinctive network prefix ("cfx" "cfxtest" or "net[networkId]"), an optional address type, and a checksum. + +The hex address is a concatenation of a 4-bit type indicator and the rightmost 156-bit Keccak digest of the associated public key of the private key. + +## Syntax + +The syntax of Conflux addresses: + +``` +caip10-like address: namespace + ":" networkId + ":" + address +namespace: conflux +network Id: unsigned integer ranging from 1 to 4294967295. +address: conflux address represented as a base32 encoded string +``` + +## Test Cases + +The list of example address generated form the same hex address, composed use the [Address Format Conversion][] or [conflux-address-js][] + +``` +# hex address +0x1a2f80341409639ea6a35bbcab8299066109aa55 + +# mainnet +conflux:1029:cfx:aarc9abycue0hhzgyrr53m6cxedgccrmmyybjgh4xg + +# testnet +conflux:1:cfxtest:aarc9abycue0hhzgyrr53m6cxedgccrmmy8m50bu1p + +# private net +conflux:2024:net2024:aarc9abycue0hhzgyrr53m6cxedgccrmmy06bvtn67 + +# private net +conflux:202408:net202408:aarc9abycue0hhzgyrr53m6cxedgccrmmywsh35uak + +``` + +## References + +- [Conflux core space docs][]: Conflux core space eveloper documentation +- [Conflux base32 addresses][]: Conflux addresses +- [Address Format Conversion][]: A tool convert hex address to base32 + +[Conflux core space docs]: https://doc.confluxnetwork.org/docs/core/Overview +[Conflux base32 addresses]: https://doc.confluxnetwork.org/docs/core/core-space-basics/addresses +[conflux-address-js]: https://github.com/conflux-fans/conflux-address-js +[Address Format Conversion]: https://www.confluxscan.io/address-converter +[CAIP-10]: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-10.md + +## Copyright + +Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). diff --git a/conflux/caip2.md b/conflux/caip2.md new file mode 100644 index 0000000..fd37cf4 --- /dev/null +++ b/conflux/caip2.md @@ -0,0 +1,90 @@ +--- +namespace-identifier: conflux-caip2 +title: Conflux Namespace - Chains +author: iosh (@iosh) +discussions-to: +status: Draft +type: Standard +created: 2024-08-09 +requires: CAIP-2 +--- + +# CAIP-2 + +_For context, see the [CAIP-2][] specification._ + +## Rationale + +Conflux network(core space) consists of 2 networks: main network and testing network. The private network can also be created , Each network has a unique network ID that can be used to identify it. + +## Syntax + +A network id in the Conflux core space is defined as an unsigned integer ranging from 1 to 4294967295. + +### Resolution Mechanics + +To resolve the a network reference for a conflux network, POST a JSON-RPC request to the RPC endpoint of the blockchain node with path / ,for example: + +```jsonc +// request +curl -X POST --data \ +'{ + "method": "cfx_getStatus", + "params": [], + "jsonrpc": "2.0", + "id": 1 +}' \ +-H "Content-Type: application/json" \ +https://main.confluxrpc.com + +// response + +{ + "jsonrpc": "2.0", + "id": 1, + "result": { + "bestHash": "0x4e5607b1c23124fad2c7e431f34ca52bc3e28e90df2e3733d0a50d64d4790693", + "chainId": "0x405", + "ethereumSpaceChainId": "0x406", + "networkId": "0x405", + "epochNumber": "0x6158f8d", + "blockNumber": "0xeb54f08", + "pendingTxNumber": "0xc9", + "latestCheckpoint": "0x614b3a0", + "latestConfirmed": "0x6158f6a", + "latestState": "0x6158f89", + "latestFinalized": "0x6158eb0" + } +} + +``` + +The response will return a JSON object which will include node status and the `networkId` defined value is the hex encoded network ID of the current chain. + +## Test Cases + +``` +# conflux mainnet +conflux:1029 + +# conflux testnet +conflux:1 + +# private network +conflux:2024 + +``` + +## References + +- [CAIP-2][] +- [Conflux core space Docs][] The Conflux Core Space Docs +- [Conflux core space RPC endpoint][] Public available Conflux Core Space network RPC endpoints + +[CAIP-2]: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-2.md +[Conflux core space Docs]: https://doc.confluxnetwork.org/docs/core/Overview +[Conflux core space RPC endpoint]: https://doc.confluxnetwork.org/docs/core/conflux_rpcs + +## Copyright + +Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). From 3852dbc06a7106eb3ee8557c4c9008fc799c39a3 Mon Sep 17 00:00:00 2001 From: iosh Date: Mon, 12 Aug 2024 22:29:53 +0800 Subject: [PATCH 2/7] update with suggestion --- conflux/caip10.md | 13 +++++++------ conflux/caip2.md | 6 ++++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/conflux/caip10.md b/conflux/caip10.md index 5147790..9b13df3 100644 --- a/conflux/caip10.md +++ b/conflux/caip10.md @@ -14,7 +14,9 @@ _For context, see the [CAIP-10][] specification._ ## Rationale -The Conflux Network EOA address is base32-encoded address it is derived directly from the hex-encoded addresses including a distinctive network prefix ("cfx" "cfxtest" or "net[networkId]"), an optional address type, and a checksum. +The Conflux Network EOA address is a base32-encoded address. + +These are derived directly from the hexadecimal-encoded public keys corresponding to the private keys controlling them, but calculated over a network identifier, address type, and checksum value, address including a distinctive network prefix ("cfx" "cfxtest" or "net[networkId]"). The hex address is a concatenation of a 4-bit type indicator and the rightmost 156-bit Keccak digest of the associated public key of the private key. @@ -25,7 +27,6 @@ The syntax of Conflux addresses: ``` caip10-like address: namespace + ":" networkId + ":" + address namespace: conflux -network Id: unsigned integer ranging from 1 to 4294967295. address: conflux address represented as a base32 encoded string ``` @@ -38,16 +39,16 @@ The list of example address generated form the same hex address, composed use th 0x1a2f80341409639ea6a35bbcab8299066109aa55 # mainnet -conflux:1029:cfx:aarc9abycue0hhzgyrr53m6cxedgccrmmyybjgh4xg +conflux:cfx:aarc9abycue0hhzgyrr53m6cxedgccrmmyybjgh4xg # testnet -conflux:1:cfxtest:aarc9abycue0hhzgyrr53m6cxedgccrmmy8m50bu1p +conflux:cfxtest:aarc9abycue0hhzgyrr53m6cxedgccrmmy8m50bu1p # private net -conflux:2024:net2024:aarc9abycue0hhzgyrr53m6cxedgccrmmy06bvtn67 +conflux:net2024:aarc9abycue0hhzgyrr53m6cxedgccrmmy06bvtn67 # private net -conflux:202408:net202408:aarc9abycue0hhzgyrr53m6cxedgccrmmywsh35uak +conflux:net202408:aarc9abycue0hhzgyrr53m6cxedgccrmmywsh35uak ``` diff --git a/conflux/caip2.md b/conflux/caip2.md index fd37cf4..d784524 100644 --- a/conflux/caip2.md +++ b/conflux/caip2.md @@ -15,7 +15,9 @@ _For context, see the [CAIP-2][] specification._ ## Rationale -Conflux network(core space) consists of 2 networks: main network and testing network. The private network can also be created , Each network has a unique network ID that can be used to identify it. +Conflux network(core space) consists of 2 networks: main network and testing network. +Private networks can also be created. +Each network has a unique network ID that can be used to identify it. ## Syntax @@ -59,7 +61,7 @@ https://main.confluxrpc.com ``` -The response will return a JSON object which will include node status and the `networkId` defined value is the hex encoded network ID of the current chain. +The response will return a JSON object which will include node status and the `networkId`, encoded in hexadecimal, of the current chain. ## Test Cases From d8ea52f7f263b209bb70605740b02023ab6a0827 Mon Sep 17 00:00:00 2001 From: iosh Date: Tue, 13 Aug 2024 17:43:30 +0800 Subject: [PATCH 3/7] update caip10 --- conflux/caip10.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conflux/caip10.md b/conflux/caip10.md index 9b13df3..fe026e4 100644 --- a/conflux/caip10.md +++ b/conflux/caip10.md @@ -25,7 +25,7 @@ The hex address is a concatenation of a 4-bit type indicator and the rightmost 1 The syntax of Conflux addresses: ``` -caip10-like address: namespace + ":" networkId + ":" + address +caip10-like address: namespace + ":" + address namespace: conflux address: conflux address represented as a base32 encoded string ``` From c1a8c0075f4bbfda4a681830bac145a45dcc902f Mon Sep 17 00:00:00 2001 From: iosh Date: Tue, 13 Aug 2024 22:32:36 +0800 Subject: [PATCH 4/7] update caip 2 and 10 --- conflux/caip10.md | 66 ++++++++++++++++++++++++++++++++++++++++++----- conflux/caip2.md | 14 +++++----- 2 files changed, 67 insertions(+), 13 deletions(-) diff --git a/conflux/caip10.md b/conflux/caip10.md index fe026e4..4f58ac4 100644 --- a/conflux/caip10.md +++ b/conflux/caip10.md @@ -18,16 +18,70 @@ The Conflux Network EOA address is a base32-encoded address. These are derived directly from the hexadecimal-encoded public keys corresponding to the private keys controlling them, but calculated over a network identifier, address type, and checksum value, address including a distinctive network prefix ("cfx" "cfxtest" or "net[networkId]"). -The hex address is a concatenation of a 4-bit type indicator and the rightmost 156-bit Keccak digest of the associated public key of the private key. +The Conflux core space hex address is a concatenation of a 4-bit type indicator and the rightmost 156-bit Keccak digest of the associated public key of the private key. + +There are currently three types of indicators: + +(0x)1: Represents the address of an EOA account. +(0x)8: Represents the address of a contract +(0x)0: Represents the address of an internal contract, + +Constructing an address: + +``` +encode(0x1a2f80341409639ea6a35bbcab8299066109aa55, "cfx") // cfx:aarc9abycue0hhzgyrr53m6cxedgccrmmyybjgh4xg +``` + +1. Network Prefix: cfx(mainnet network ID 1029), cfxtest(testnet network ID 1), net + network ID (ID is not 1 or 1029) + + Network Prefix: `cfx` + +2. Payload: Concatenate version-byte: concatenate the version-byte(0x00) with hex address to get a 21-byte array. + + Payload: `[0x00, 0x1a, 0x2f, 0x80, 0x34, 0x14, 0x09, 0x63, 0x9e, 0xa6, 0xa3, 0x5b, 0xbc, 0xab, 0x82, 0x99, 0x06, 0x61, 0x09, 0xaa, 0x55]` + +3. Base32 encode: encode the above result left-to-right, mapping each 5-bit sequence to the corresponding ASCII character Pad to the right with zero bits(should be 2 bit 0-padding) to complete any unfinished chunk at the end. + + 5-bit base32: `[0x00, 0x00, 0x0d, 0x02, 0x1f, 0x00, 0x01, 0x14, 0x02, 0x10, 0x04, 0x16, 0x07, 0x07, 0x15, 0x06, 0x14, 0x0d, 0x0d, 0x1b, 0x19, 0x0a, 0x1c, 0x02, 0x13, 0x04, 0x03, 0x06, 0x02, 0x02, 0x0d, 0x0a, 0x0a, 0x14]` + + base32-encoded: `aarc9abycue0hhzgyrr53m6cxedgccrmmy` + +4. Checksum Prepare checksum input: data is used as the input of checksum function. It contains: + 4.1 The lower 5 bits of each character of the network-prefix, e.g. "cfx..." becomes 0x03, 0x06, 0x18, ... + + network-prefix cfx: `0x03, 0x06, 0x18` + + 4.2 A zero for the separator (5 zero bits). + + `0x00` + + 4.3 The payload by chunks of 5 bits. If necessary, the payload is padded to the right with zero bits to complete any unfinished chunk at the end. + + checksum input data: +``` + //↓ network-prefix //↓separator //↓ 5-bit base32 with zero padding + [0x03, 0x06, 0x18, 0x00, 0x00, 0x00, 0x0d, 0x02, 0x1f, 0x00, 0x01, 0x14, 0x02, 0x10, 0x04, 0x16, 0x07, 0x07, 0x15, 0x06, 0x14, 0x0d, 0x0d, 0x1b, 0x19, 0x0a, 0x1c, 0x02, 0x13, 0x04, 0x03, 0x06, 0x02, 0x02, 0x0d, 0x0a, 0x0a, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] +``` + +5. Calculate checksum: calculate using [Bitcoin Cash checksum algorithm][]over the data + + checksum output: `688543492710` + +6. Base32 encode: encode the output + + checksum base32 encode: `ybjgh4xg` + +concatenated result: `cfx:aarc9abycue0hhzgyrr53m6cxedgccrmmyybjgh4xg` ## Syntax The syntax of Conflux addresses: ``` -caip10-like address: namespace + ":" + address +caip10-like address: namespace + ":" chain_id + ":" + address namespace: conflux -address: conflux address represented as a base32 encoded string +chain_id cfx or cfxtest or net[network ID] +address: base32 address ``` ## Test Cases @@ -35,9 +89,6 @@ address: conflux address represented as a base32 encoded string The list of example address generated form the same hex address, composed use the [Address Format Conversion][] or [conflux-address-js][] ``` -# hex address -0x1a2f80341409639ea6a35bbcab8299066109aa55 - # mainnet conflux:cfx:aarc9abycue0hhzgyrr53m6cxedgccrmmyybjgh4xg @@ -62,7 +113,8 @@ conflux:net202408:aarc9abycue0hhzgyrr53m6cxedgccrmmywsh35uak [Conflux base32 addresses]: https://doc.confluxnetwork.org/docs/core/core-space-basics/addresses [conflux-address-js]: https://github.com/conflux-fans/conflux-address-js [Address Format Conversion]: https://www.confluxscan.io/address-converter -[CAIP-10]: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-10.md +[CAIP-10]: https://chainagnostic.org/CAIPs/caip-10 +[Bitcoin Cash checksum algorithm]: https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/cashaddr.md#checksum ## Copyright diff --git a/conflux/caip2.md b/conflux/caip2.md index d784524..6ffadaa 100644 --- a/conflux/caip2.md +++ b/conflux/caip2.md @@ -17,7 +17,9 @@ _For context, see the [CAIP-2][] specification._ Conflux network(core space) consists of 2 networks: main network and testing network. Private networks can also be created. -Each network has a unique network ID that can be used to identify it. + +The main network has a network ID of 1029, represented by `cfx`. The test network has a network ID of 1, represented by `cfxtest`. Private networks are represented by `net[network ID]`. + ## Syntax @@ -25,7 +27,7 @@ A network id in the Conflux core space is defined as an unsigned integer ranging ### Resolution Mechanics -To resolve the a network reference for a conflux network, POST a JSON-RPC request to the RPC endpoint of the blockchain node with path / ,for example: +To resolve the a network reference for a conflux network, POST a JSON-RPC request to the RPC endpoint of the blockchain node with path / for example: ```jsonc // request @@ -67,13 +69,13 @@ The response will return a JSON object which will include node status and the `n ``` # conflux mainnet -conflux:1029 +conflux:cfx # conflux testnet -conflux:1 +conflux:cfxtest # private network -conflux:2024 +conflux:net2024 ``` @@ -83,7 +85,7 @@ conflux:2024 - [Conflux core space Docs][] The Conflux Core Space Docs - [Conflux core space RPC endpoint][] Public available Conflux Core Space network RPC endpoints -[CAIP-2]: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-2.md +[CAIP-2]: https://chainagnostic.org/CAIPs/caip-2 [Conflux core space Docs]: https://doc.confluxnetwork.org/docs/core/Overview [Conflux core space RPC endpoint]: https://doc.confluxnetwork.org/docs/core/conflux_rpcs From 053f0af0a3d5796b823ffa0011a064236a165019 Mon Sep 17 00:00:00 2001 From: iosh Date: Sat, 17 Aug 2024 09:42:52 +0800 Subject: [PATCH 5/7] update caip 10 --- conflux/caip10.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/conflux/caip10.md b/conflux/caip10.md index 4f58ac4..2583ae3 100644 --- a/conflux/caip10.md +++ b/conflux/caip10.md @@ -28,25 +28,30 @@ There are currently three types of indicators: Constructing an address: -``` +```js encode(0x1a2f80341409639ea6a35bbcab8299066109aa55, "cfx") // cfx:aarc9abycue0hhzgyrr53m6cxedgccrmmyybjgh4xg ``` -1. Network Prefix: cfx(mainnet network ID 1029), cfxtest(testnet network ID 1), net + network ID (ID is not 1 or 1029) +1. Network Prefix: + +- `cfx` for mainnet, i.e. network ID `1029` +- `cfxtest` for testnet, i.e. network ID `1` +- `net{X}` where X is the integer network ID for any other network - Network Prefix: `cfx` + Example address from mainnet: `cfx` -2. Payload: Concatenate version-byte: concatenate the version-byte(0x00) with hex address to get a 21-byte array. +2. Payload: concatenate the version-byte (currently `0x00`) with the 20-byte hexadecimal address to produce a byte array 21 bytes in length. Payload: `[0x00, 0x1a, 0x2f, 0x80, 0x34, 0x14, 0x09, 0x63, 0x9e, 0xa6, 0xa3, 0x5b, 0xbc, 0xab, 0x82, 0x99, 0x06, 0x61, 0x09, 0xaa, 0x55]` -3. Base32 encode: encode the above result left-to-right, mapping each 5-bit sequence to the corresponding ASCII character Pad to the right with zero bits(should be 2 bit 0-padding) to complete any unfinished chunk at the end. +3. Base32 encode: encode the above result left-to-right, mapping each 5-bit sequence to the corresponding ASCII character, then pad to the right with zero bits (2-bit `0x00`-padding) to complete any unfinished chunk at the end. 5-bit base32: `[0x00, 0x00, 0x0d, 0x02, 0x1f, 0x00, 0x01, 0x14, 0x02, 0x10, 0x04, 0x16, 0x07, 0x07, 0x15, 0x06, 0x14, 0x0d, 0x0d, 0x1b, 0x19, 0x0a, 0x1c, 0x02, 0x13, 0x04, 0x03, 0x06, 0x02, 0x02, 0x0d, 0x0a, 0x0a, 0x14]` base32-encoded: `aarc9abycue0hhzgyrr53m6cxedgccrmmy` -4. Checksum Prepare checksum input: data is used as the input of checksum function. It contains: +4. Checksum: Compute the checksum input from the preceding data as follows: + 4.1 The lower 5 bits of each character of the network-prefix, e.g. "cfx..." becomes 0x03, 0x06, 0x18, ... network-prefix cfx: `0x03, 0x06, 0x18` @@ -58,12 +63,13 @@ encode(0x1a2f80341409639ea6a35bbcab8299066109aa55, "cfx") // cfx:aarc9abycue0hhz 4.3 The payload by chunks of 5 bits. If necessary, the payload is padded to the right with zero bits to complete any unfinished chunk at the end. checksum input data: -``` + +```js //↓ network-prefix //↓separator //↓ 5-bit base32 with zero padding [0x03, 0x06, 0x18, 0x00, 0x00, 0x00, 0x0d, 0x02, 0x1f, 0x00, 0x01, 0x14, 0x02, 0x10, 0x04, 0x16, 0x07, 0x07, 0x15, 0x06, 0x14, 0x0d, 0x0d, 0x1b, 0x19, 0x0a, 0x1c, 0x02, 0x13, 0x04, 0x03, 0x06, 0x02, 0x02, 0x0d, 0x0a, 0x0a, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] ``` -5. Calculate checksum: calculate using [Bitcoin Cash checksum algorithm][]over the data +5. Calculate checksum: calculate using [Bitcoin Cash checksum algorithm][] over the input data checksum output: `688543492710` From b0229ee80ff8da044858c4cd7edba5b1cbdb9fd1 Mon Sep 17 00:00:00 2001 From: Bumblefudge Date: Fri, 23 Aug 2024 09:32:06 +0200 Subject: [PATCH 6/7] Update eip155/caip10.md Co-authored-by: Chris Smith <1979423+chris13524@users.noreply.github.com> --- eip155/caip10.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eip155/caip10.md b/eip155/caip10.md index 13c166b..53a5534 100644 --- a/eip155/caip10.md +++ b/eip155/caip10.md @@ -46,7 +46,7 @@ The `chain_id` string will be ammended as follows: chain_id: namespace + ":" + network_id + ":" + reference namespace: [-a-z0-9]{3,8} network_id: [0-9]{1,64} -reference: 0x[a-fA-F0-9]{1,40} +reference: 0x[a-fA-F0-9]{40} ``` ### Backwards Compatibility From 54cbc47f8bef951e42a95565bd052efb652bf6ad Mon Sep 17 00:00:00 2001 From: iosh Date: Wed, 4 Sep 2024 18:50:53 +0800 Subject: [PATCH 7/7] chore: apply suggestion --- conflux/README.md | 2 +- conflux/caip10.md | 4 ++-- conflux/caip2.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conflux/README.md b/conflux/README.md index 1d69362..ba79057 100644 --- a/conflux/README.md +++ b/conflux/README.md @@ -9,7 +9,7 @@ created: 2024-08-09 # Namespace for Conflux Network blockchains -This document defines the applicability of CAIP schemes to the blockchain of the Conflux network(core space) ecosystem. +This document defines the applicability of CAIP schemes to the blockchain of the Conflux network (core space) ecosystem. ## Syntax diff --git a/conflux/caip10.md b/conflux/caip10.md index 2583ae3..e7fd4c8 100644 --- a/conflux/caip10.md +++ b/conflux/caip10.md @@ -23,8 +23,8 @@ The Conflux core space hex address is a concatenation of a 4-bit type indicator There are currently three types of indicators: (0x)1: Represents the address of an EOA account. -(0x)8: Represents the address of a contract -(0x)0: Represents the address of an internal contract, +(0x)8: Represents the address of a contract. +(0x)0: Represents the address of an internal contract. Constructing an address: diff --git a/conflux/caip2.md b/conflux/caip2.md index 6ffadaa..9122921 100644 --- a/conflux/caip2.md +++ b/conflux/caip2.md @@ -2,7 +2,7 @@ namespace-identifier: conflux-caip2 title: Conflux Namespace - Chains author: iosh (@iosh) -discussions-to: +discussions-to: https://github.com/ChainAgnostic/namespaces/pull/124 status: Draft type: Standard created: 2024-08-09 @@ -83,7 +83,7 @@ conflux:net2024 - [CAIP-2][] - [Conflux core space Docs][] The Conflux Core Space Docs -- [Conflux core space RPC endpoint][] Public available Conflux Core Space network RPC endpoints +- [Conflux core space RPC endpoint][] Publicly available Conflux Core Space network RPC endpoints [CAIP-2]: https://chainagnostic.org/CAIPs/caip-2 [Conflux core space Docs]: https://doc.confluxnetwork.org/docs/core/Overview