Skip to main content

Interact with the rollup smart contract

ConsenSys Rollups provides a smart contract for users to interact with partially anonymous rollups.

Users can interact with the smart contract by sending inbound transfers to the smart contract to have the smart contract to manage their tokens, and by sending tokens between accounts.

ConsenSys Rollups provides accounts with test ether with which you can test the smart contract.

"Security warning"

Do not use the test accounts on Ethereum mainnet or any production network.

The test accounts provided in the ConsenSys Rollups repository are not secure; their private keys are publicly visible in the source code.

Using test accounts on Ethereum mainnet and production networks can lead to loss of funds and identity fraud.

Always secure your Ethereum mainnet and production accounts properly. For example, see MyCrypto "Protecting Yourself and Your Funds" guide.


  • ConsenSys Rollups installed and running. Navigate to the smart_contracts directory to run the example commands.
  • Node.js installed.
  • Truffle installed.
  • Address of the Ethereum RPC set as the following environment variable:
export BLOCKCHAIN_NODE=<RPC-address>