You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code on the devnet network sends sui, and the error in the picture will be reported.
How should it be solved? import { Ed25519Keypair, JsonRpcProvider, RawSigner } from '@mysten/sui.js'; // Generate a new Ed25519 Keypair const keypair = new Ed25519Keypair(); const provider = new JsonRpcProvider(); const signer = new RawSigner(keypair, provider); const transferTxn = await signer.transferObject({ objectId: '0x5015b016ab570df14c87649eda918e09e5cc61e0', gasBudget: 1000, recipient: '0xd84058cb73bdeabe123b56632713dcd65e1a6c92', }); console.log('transferTxn', transferTxn);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The following code on the devnet network sends sui, and the error in the picture will be reported.
How should it be solved?
import { Ed25519Keypair, JsonRpcProvider, RawSigner } from '@mysten/sui.js'; // Generate a new Ed25519 Keypair const keypair = new Ed25519Keypair(); const provider = new JsonRpcProvider(); const signer = new RawSigner(keypair, provider); const transferTxn = await signer.transferObject({ objectId: '0x5015b016ab570df14c87649eda918e09e5cc61e0', gasBudget: 1000, recipient: '0xd84058cb73bdeabe123b56632713dcd65e1a6c92', }); console.log('transferTxn', transferTxn);
Beta Was this translation helpful? Give feedback.
All reactions