coinbase / coinbase/mesh-specifications

Clarification on a few specification terms

Open
#23 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
342
Forks
100
PR merge metrics
No merged PRs in 30d

Description

I have a few questions/requests for clarification as to your specification

## Amount.yaml

Amount is described as:

` Amount is some Value of a Currency`

Can it be changed to:

` Amount is some Unit of Account`

**currency** has *legal* implications, and strictly speaking, this is not entirely accurate for EVM chains as *gas* is the unit of account for EVM chains (typically) whereas ethereum

## Account Identifier

currently reads:
- The account_identifier uniquely identifies an account within a network.

can it be expanded to fit a more approximate meaning of the word, as you can have a chain that uses the same derivation path in both instances but have assets in different addresses.

Also, can this be explicit in what it means as to what constitutes an "account"? Is it only EOA - Externally owned accounts only or can smart contract addresses be included with no distinction?

**informative ref**: [eip1191](https://eips.ethereum.org/EIPS/eip-1191).

example:
```javascript
const hexChecksumChain = (name: string, coinType: number, chainId?: number) => ({
coinType, coinType,
decoder: decodeChecksummedHex, decoder: makeChecksummedHexDecoder(chainId),
encoder: encodeChecksummedHex, encoder: makeChecksummedHexEncoder(chainId),
name, name,
}); });
```
*example ref*: [ensdomains/address-encoder/commit/5bf53b13fa014646ea28c9e5f937361dc9b40590](https://github.com/ensdomains/address-encoder/commit/5bf53b13fa014646ea28c9e5f937361dc9b40590#diff-f41e9d04a45c83f3b6f6e630f10117feR186)

### Network Identifer.yaml

The network_identifier specifies which network a particular object is associated with.

"If a blockchain has a specific chain-id or network identifier, it
should go in this field."

Can we also provide an (optional) direct link to a repository containing the genesis file? This would be the least ambiguous as to
** Informative ** [ethereum-listss/chains](https://github.com/ethereum-lists/chains)

Additional references and sources can be made available. A Java SDK would be trivial, I just would like to not have to make awkward choices if possible, these are the ones just most apparent.

Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.