Skip to main content
By default, the SDK uses public providers to make EVM read calls. Many public providers are heavily throttled and are not suitable for high traffic. For production use, we recommend setting up a custom JSON-RPC provider with your own API key.

Alchemy

To use the Alchemy bundler, provide an API key during account initialization:
const rhinestone = new RhinestoneSDK({
  apiKey: rhinestoneApiKey,
  provider: {
    type: 'alchemy',
    apiKey: alchemyApiKey,
  }
})
const rhinestoneAccount = await rhinestone.createAccount({
  owners: {
    type: 'ecdsa',
    accounts: [accountA, accountB, accountC],
    threshold: 2,
  },
  
})
Reach out if you need support for other JSON-RPC providers!
I