@hyperlane-xyz/sdk
Version:
The official SDK for the Hyperlane Network
7 lines • 368 B
JavaScript
import { AleoProvider as AleoSDKProvider } from '@hyperlane-xyz/aleo-sdk/runtime';
import { ProviderType } from '../ProviderType.js';
export const defaultAleoProviderBuilder = (rpcUrls, network) => {
const provider = new AleoSDKProvider(rpcUrls.map((rpc) => rpc.http), network);
return { provider, type: ProviderType.Aleo };
};
//# sourceMappingURL=aleo.js.map