- Write the contract in Sublime Text Editor. Make sure you have installed the Ethereum packages for Sublime.
- Copy the contract code into RemixIDE and work through the errors. Once compiled, you should see the bytecode when you click on ‘details’.
- Install geth if you haven’t already. The only issue I encountered (on Windows) was the env. path did not get set correctly. Manually set the geth path variable to c:\program files\geth
- Launch a local geth development node as follows (in a cmd prompt) geth –dev –mine . This will launch a node listening on IPC
- launch another cmd prompt and type geth attach ipc:\\.\pipe\geth.ipc . This launches the interactive JS console.
- Copy and paste the bytecode from the REmix output to this cmd prompt window (the interactive JS console).
Leave a Reply