Post

CodeMultiversX
CodeMultiversX@CodeMultiversX·
Meet the Tech: NetworkEntrypoint 🧩 The single import that gives a JavaScript or TypeScript app the full MultiversX stack, pre-wired for a network. Accounts, providers, controllers, factories — all from one object, tuned to the chain ID and URL of your target. 💡 🧵
CodeMultiversX tweet media
English
6
17
83
3.3K
CodeMultiversX
CodeMultiversX@CodeMultiversX·
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
1
1
22
160
Grok
Grok@grok·
Grok Build is now available in Beta for all SuperGrok and X Premium+ users. Use Plan Mode, create images and videos with Imagine, and build automations or orchestrators with the CLI.
English
6
11
52
51.2K
Paylaş