Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 2.36 KB

README.md

File metadata and controls

28 lines (20 loc) · 2.36 KB

Before you start

  1. Ensure you have node and npm installed
  2. Install Ethereumjs-testrpc npm install -g ethereumjs-testrpc
  3. Run Ethereum TestRPC client testrpc
  4. Since the test network is running locally, this means you'll have to deploy our test contracts everytime the network is created again.

How do I deploy contracts to my test node?

You can easily deploy your contract straight from the Remix IDE. In the Run tab, change the environment dropdown to Web3 Provider, hit ok, then specify the testrpc localhost address as the endpoint, default http://localhost:8545

After deploying the test contracts, make sure to update the contract address in the code. Unfortunately contracts cannot be deployed to a specific address, so a new address is created everytime it's deployed. Check this repo for up to date contracts.

More information at https://coursetro.com/posts/code/99/Interacting-with-a-Smart-Contract-through-Web3.js-(Tutorial)

How to install this extension?

  1. Clone this repository
  2. Open Google Chrome, navigate to Chrome => Preferences => Extensions or enter chrome://extensions in the url
  3. Enable Developer Mode
  4. Click on Load unpacked extension and select the root of this repository

License

Copyright (c) 2018 Alejandro Munoz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.