Solana & Ethereum
BeQue supports multiple blockchains, including Solana and the Ethereum Mainnet.
The BeQue javascript SDK’s top-level packages, like @beque/base
and @beque/token
, contain types and methods that can reasonably be shared between all blockchains.
However, blockchains differ in many ways. For instance, the Block
data structure is radically different between Ethereum and Solana. To find the Solana variant, you’ll want to import { Block } from "@beque/base-sol";
the Ethereum variant is in @beque/base-eth
.
Over time, where possible, our intent is to offer “least common denominator” style APIs for those who want to ask common questions and not worry about the details of specific blockchains; however, we will always offer blockchain-specific APIs first.