KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
hex
★ 11
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
revenuecat_python
:
A Python client library for RevenueCat REST API. Supports async/await.
finetune_huggingface_t5
:
FineTune HuggingFace's T5 implementation on NMT
WHURS_19_Data_structure_practice
:
武大遥感院19级数据结构实习 包含1)CSV格式数据文件的读写 2)图的创建(邻接矩阵或邻接表) 3)图的遍历(广度优先或深度优先) 4)图的最短路径,并具体给出(A到B)的最短路径及其数值 5)最短路径的地图可视化展示 6)算法的时间和空间复杂度分析
Learning_App
:
An app which students can use to capture their work-based experiences and share these learning experiences with other students through text(chatting), audio, video, pdfs, images.
stm32
:
stm32 module
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
hex
?
Download (.md)
# HEX a repo for all things hex solidity / truffle development ## *WARNING* this package is untested need tests for all code (`.sol` + `.js`) # contracts use `contracts/*` to test the contracts you plan to build on hex. # utils ```js const { UNITS, fromHeart, toHeart, convert } = require('@hexcommunity/hex/utils') ``` ### `UNITS` an object with the units as keys and the factor (1e8) as values. ``` heart microhex millihex hex hectohex kilohex megahex gigahex terahex ``` ### `convert` convert any unit into any other unit returns a BN.js value ```js convert('heart', 200000000, 'hex') // 2<BN> ``` ### `fromHeart` convert `heart` unit to any other unit, default destination `hex` ```js fromHeart(200000000) // 2<BN> fromHeart(200000000, 'hex') // 2<BN> fromHeart(200000000, 'millihex') // 2000<BN> ``` ### `toHeart` convert from any other unit to `heart`, default source `hex` ```js toHeart(2) // 200000000<BN> toHeart(2, 'hex') // 200000000<BN> toHeart(2000, 'millihex') // 200000000<BN> ```