This repo serves as the JS SDK powering the August Digital ecosystem that can easily be used in your web app.
** Note: there is not much logic found in this repo. Simply a centralized location that exports all other packages' logic. **
This repo, by default, exports the SDK class in addition to other helpful, stand-alone methods and variables that are commonly used.
The default exported class is primarily used to fetch data respective to your initialization configuration.
Other stand-alone methods and variables are also exported including all items from "@augustdigital/utils". Additionally, all ABIs and interfaces are exported from here with "ABI_" and "I" prefixes.
Default exported class initialization and then fetching a lending pool:
import AugustDigitalSDK from '@augustdigital/sdk';
await new AugustDigitalSDK(config).pools.getPool(POOL_ADDRESS);