flare-mcc
v0.0.7
Published
Multi chain client
Downloads
2
Readme
Multi chain client
Welcome to version 0 of MCC
Naming convention
For types
- We use CamelCase
- We start with uppercase letter
- For abbreviation we only use only use uppercase for first letter
UseBTC
->UseBtc
We name interfaces as following:
- For method responses
I<ChainAssetName><MethodName>Res
For example:
IUtxoGetTransactionRes
- For method inputs
I<ChainAssetName><MethodName>
For example:
IUtxoGetTransaction
- For specific parts of method inputs (for example Vin For Utxo transaction creation)
II<ChainAssetName><MethodName>
For example:
IIUtxoVin
- For general Data Types
I<ChainAssetName><DataType>
For example:
IUtxoScriptPubKey
To use this with attestor client
- Make sure this repo and attester-client repo are in the same root
- If you make changes to MCC make sure to rebuild it
yarn build
- Rebuild the local dependency in attester client with
yarn install --force