Arbitrum is a Layer 2 cryptocurrency platform that makes smart contracts scalable, fast, and private. Arbitrum interoperates closely with Ethereum, so Ethereum developers can easily cross-compile their contracts to run on Arbitrum. Arbitrum achieves these goals through a unique combination of incentives, network protocol design, and virtual machine architecture.
Arbitrum technologies are patent pending. This repository is offered under the Apache 2.0 license. See LICENSE for details.
Arbitrum is currently Alpha software and should not be used in production environments.
Clone the monorepo to get started:
git clone -b master --depth=1 -c advice.detachedHead=false https://github.com/OffchainLabs/arbitrum.git cd arbitrum yarn yarn install:deps cd demos/pet-shop truffle migrate --reset --compile-all --network arbitrum cd ../.. ./scripts/arb_deploy.py demos/pet-shop/contract.ao 3 # Start the frontend in another session: cd demos/pet-shop && yarn start
Next, setup Metamask with a new account and the mnemonic:
jar deny prosper gasp flush glass core corn alarm treat leg smart
or use your existing account with the private key derived from the previous mnemonic:
You will also need to switch networks to
http://localhost:7545 to connect to the Ganache started by the
script before adopting your pets.