@did-network/dapp-sdk
v0.1.9
Published
SDK for Common DApp
Downloads
1,272
Readme
@did-network/dapp-sdk
DApp SDK
SDK for Common DApp
- Constants
- Hooks
- useFetch: fetch data from API
- useLocalStorageState: extension of useState to store and retrive data from local storage
- useQuery: read query from URL and parse the params
- Utils
- formatAmount: format BigNumber into human-readable test
- shorten: shorten address/hash by truncate leading and tailing characters