In order to work with the blockchain locally, you’ll need to set up a local devnet and install a wallet to your browser.

Ecko Wallet Browser Extension

  1. Download Ecko Wallet Browser Extension (currently only available for Google Chrome)

<aside> 🗒️ NOTE: this means you will need to use the Chrome browser during the event

</aside>

  1. Run through all the steps for the extensions setup wizard (choose “Create New Wallet” if you’ve never used Ecko Wallet before)
  2. At the conclusion of the wizard setup, you can close the tab and use the extension pop-up moving forward.

Setup the Local Devnet and Connect Wallet

  1. Run the following command in the project folder to start the dev network. (You can stop the network with ctrl + c but make sure you have it running while we’re developing)
yarn kadena:devnet
# or
npm run kadena:devnet

<aside> ⚠️ The devnet runs on port 8080, so ensure it’s free

</aside>

  1. Open the Ecko Wallet Chrome extension to connect it to the dev network started by the previous command.
  2. Choose the “Settings” button from the bottom menu

Screenshot 2023-07-26 at 9.48.52 AM.png

  1. Next, choose “Networks”
  2. Click the “Add a New Network” button.

Screenshot 2023-07-26 at 9.49.35 AM.png

  1. Fill in the network details as follows:
    1. Network Name: DevNet
    2. New RPC URL: http://127.0.0.1:8080
    3. Block Explorer URL: http://127.0.0.1:8080
    4. Network Id: fast-development
  2. Click the “Save” button

Screenshot 2023-07-26 at 9.50.43 AM.png

  1. Next, close the extension and open it again to get to the wallet view. Then select the “DevNet” network from the dropdown in the top left corner.

Screenshot 2023-07-26 at 9.57.56 AM.png

  1. Create a wallet by selecting the vertical three-dots menu in the top right-hand corner, and choosing “Create Wallet”.
  2. Congrats, Ecko Wallet is setup to work with the devnet! 🎉

Screenshot-2023-07-26-at-9.59.26-AM.jpg

Fund Account

Next, we need to fund our account on the devnet so we have some digital money (KDA) to work with while we’re developing

  1. Copy your public key from the Ecko Wallet Extension by clicking on it in the top right corner of the extension pop-up

Screenshot 2023-07-26 at 10.27.36 AM.png

  1. Go back to the terminal in the project folder
  2. In a new terminal tab, run the following command to fund your account