Introduction
Holyheld SDK provides methods to on/off ramp crypto to and from Holyheld account in Typescript/Javascript environment. The process is split in only a few steps and allows you to customize customer flow and UI.
To use Holyheld SDK, you will require an API key. To obtain one, please reach out to your Holyheld point of contact.
Web3 Provider
The SDK supports both EVM compatible and Solana networks. Please see examples for more details.
EVM Networks
A Viem provider is used for EVM-compatible JSON-RPC interactions, Web3.js and ethers.js are also supported.
Solana
Solana is supported via @solana/web3.js.
🔔 Please note! Node.js polyfill is required
Some dependencies in SDK rely on Node.js’s Buffer class, which is not available by default in modern bundlers. To ensure compatibility, you must polyfill
Buffer using one of the following:
- buffer - for manual importing
- vite-plugin-node-polyfills - for
Vite
- node-polyfill-webpack-plugin - for
Webpack
- rollup-plugin-node-polyfills - for
Rollup
Please refer to your bundler’s documentation for setup instructions.