Shared Sessions
Introduction
Implementation
When using 1 BUIDLER component
When using more than 1 BUIDLER component in your dApp
import {
SessionStorage,
} from 'etherspot';
import {
Etherspot,
TRANSACTION_BLOCK_TYPE,
} from "@etherspot/react-transaction-buidler";
// ...
return (
<Etherspot
etherspotSessionStorage={SessionStorage}
defaultTransactionBlocks={[{ type: TRANSACTION_BLOCK_TYPE.SEND_ASSET }]}
/>
);Last updated
Was this helpful?