- Rej's opinion: fastest way to develop smart contract
- Test:
- not good for truffle framework (cause lots of files!!)
- Capability
- code smart contract in a browser
- deploy to live network
- NO account management
- Testing options
- Test in simulator
- javascript VM for Solidity: in-memory Ethereum simulator, no mining, instant result
- Can connect to local node
- Install local Geth and connect browser (Run->Environment->Web3 provider)
- Can work with MetaMask
- Run->Environment->Injected Web3 (is the MetaMask)
- some options do not require full Ethereum node so can be lightweight (CPU, bandwidth)
- Deploy contract, execution of contract
- Compile -> [Contract name] -> Details : bytecode, ABI (interface) etc.
- Remix Local
- code highlight, auto compile and more
- however new file can only be created from outside (for now)
- touch new_file
- at remix, disconnect / reconnect remixd
- with Remixd, work with local files
- install best practice (as of JAN 2018)
- from github clone and follow installation instruction: not for release, not recommended
- follow github instruction for offline usage:
- goto https://github.com/ethereum/browser-solidity
- switch to Branch: gh-pages
- download "remix-d50dcc4.zip"
- unzip, open index.html and ready to use (without remixd)
- to connect to local dir, install & run remixd -
- npm install -g remixd
- remixd -S /dir/dir/dir/
- Deployed CalculatorV2: 0x87083fc596440007a845ddc14cf68cb136cf4f1a