Skip to main content

15 docs tagged with "smart-contract"

View all tags

Call a payable endpoint with EGLD

Call a payable contract endpoint, attaching EGLD via nativeTransferAmount, against a real live devnet contract with sdk-core's controller pattern.

Decode contract events

Decode a smart contract's emitted events into named typed fields with sdk-core's TransactionEventsParser and an ABI, verified against a real event.

Deploy a multisig contract

Deploy a MultiversX multisig smart contract with the SDK JS v15 MultisigController or MultisigTransactionsFactory.

Deploy a smart contract

Deploy a smart contract from WASM bytecode and constructor arguments with sdk-core's controller and factory, then parse the outcome for the new address.

Load an ABI

Load a contract's ABI from a file, a URL, or by hand with sdk-core's Abi/AbiRegistry, then introspect its endpoints and argument types.

Propose a multisig action

Propose a multisig action, a transfer-execute or an add-board-member, with sdk-core's MultisigController and factory, then parse the new action id.

Query a read-only view

Query a smart contract's read-only view with sdk-core's SmartContractController, no wallet, no gas, no transaction, verified against live devnet.

Read a multisig's state

Read a MultiversX multisig's quorum, board members, and pending actions with their signers using sdk-core's MultisigController, no wallet needed.

Sign and perform a multisig action

Sign a proposed multisig action to quorum and perform it with sdk-core's MultisigController and factory, reading its live signer state first.

Storage mappers: which to pick, when

A contract exercising six storage mappers side by side, manually verified when written but not continuously built in CI, with a source-grounded decision table.

Upgrade a smart contract

Upgrade a deployed smart contract to new WASM bytecode with sdk-core's controller and factory, and read the upgradeContract builtin wire payload.