Post

How it works:
Three subclasses ship by default: DevnetEntrypoint, TestnetEntrypoint, MainnetEntrypoint.
import { DevnetEntrypoint } from "@multiversx/sdk-core";
const entrypoint = new DevnetEntrypoint();
const account = await entrypoint.createAccount();
const nonce = await entrypoint.recallAccountNonce(account.address);
const txHash = await entrypoint.sendTransaction(signedTx);
await entrypoint.awaitCompletedTransaction(txHash);
Instantiate the subclass for your network. The entrypoint holds the network provider, chain ID, and gas configuration internally. Every method is wired to the right network.
English

The pattern that makes it broadly useful: factory methods for every controller.
The entrypoint exposes factories for the full transaction surface. Each returns a controller pre-wired to the network.
const sc = entrypoint.createSmartContractController(abi);
const tokens = entrypoint.createTokenManagementController();
const transfers = entrypoint.createTransfersController();
const delegation = entrypoint.createDelegationController();
const governance = entrypoint.createGovernanceController();
No manual chain ID, no URL plumbing. The controller is ready to build, sign, send, and await.
English
