@consensys/on-ramp-sdk
v1.27.2
Published
## Getting started
Downloads
12,733
Maintainers
Keywords
Readme
On-Ramp SDK
Getting started
- Please make sure that there is either a deployed OnRamp API service or you are running it localy.
- Install the SDK package from the archive.
- Import the on ramp sdk with this line of code:
import {OnRampSdk} from '@codefi/on-ramp-sdk'
On-Ramp SDK
To facilitate back-end interaction, a SDK can be used.
You can use it like this:
const sdk: IOnRampSdk = await OnRampSdk.getSDK(Environment.Staging, Context.Mobile, {
verbose: true,
maxInstanceCount: 1
})