Skip to content

release v1.1.0

Latest

Choose a tag to compare

@grayfoxd grayfoxd released this 30 Mar 11:26
0e0b7d1

@bankofai/sun-kit v1.1.0

Highlights

This release switches the default Mainnet RPC endpoint to BankOfAI's own gateway, removing the hard dependency on TronGrid API Key for out-of-the-box usage, and adds automated security audit CI for pull requests.


Changes

Default Mainnet RPC Host — hptg.bankofai.io

The Mainnet default host has been changed from api.trongrid.io to hptg.bankofai.io.

Before (v1.0.0):

Scenario Mainnet Host
With TRONGRID_API_KEY api.trongrid.io
Without TRONGRID_API_KEY api.trongrid.io (rate-limited)

After (v1.1.0):

Scenario Mainnet Host
Default (no config needed) hptg.bankofai.io
Custom RPC via rpcUrl User-specified URL

This means:

  • Zero-config ready — SDK works immediately without requiring a TronGrid API Key.
  • TRONGRID_API_KEY remains supported and will be sent as the TRON-PRO-API-KEY header for users who configure a custom RPC pointing to TronGrid.
  • Nile (nile.trongrid.io) and Shasta (api.shasta.trongrid.io) test networks are unchanged.
  • The rpcUrl / rpcOverride option continues to take highest priority, allowing users to point to any custom endpoint.

Migration: No action required. Existing users with TRONGRID_API_KEY configured can continue to use it by setting rpcUrl: 'https://api.trongrid.io' in SunKitOptions if they prefer the TronGrid endpoint.