enhancementgood first issueux
Métricas do repositório
- Stars
- (4 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
We should convert to/from the "really big number" representation (i.e. wei, yoctoNEAR, lamports, etc) whenever we:
- display amounts
- collect amount from forms
The best place to put this functionality is probably the Converter sub-interface of ChainInterface so that chain implementations can be expected to implement this function.
Tasks
- add two function types to
Converter, one for going each way - implement these functions in
nearConverterconverting between YoctoNEAR and NEAR - use them in the UI for the amount in sendForm