Skip to content

Morpheuslabs-io/Loyalty-workshop

Repository files navigation

Register ML SEED Account

  • Please follow this slide to register 30-days trial account with MorpheusLabs. It's absolutely free

  • Once you've done registration, click on our logo to automatically create a working space and RPC Node that would be used in this experiment

Prerequisites

  • Require Metamask wallet, and two accounts with available balances. Follow this to create and fund your accounts

WARNING:

  • DO NOT share private keys to anyone even these accounts only use for testing purpose
  • DO NOT use your main accounts
  • Recommend to create brand new accounts in this experiment

Installation

  • Install dependencies by running this command:
cd Loyalty-workshop
yarn
  • Copy RPC Node API and paste into hardhat.config.js

Copy RPC Node

Replace hardhat.config.js

  • Once you have completed creating Metamask wallet and funding your accounts, it requires to create an environement file

    • Create the .env file
    • Find env.example, then open and copy all content in this file
    • Paste copied content into .env file
    • Next, you need private keys of two funded accounts to be pasted into .env file

    env file

    • Open your Metamask wallet -> click on three dots -> choose Account details

    account details

    • Choose Export private keys, then you will be prompted to type your Metamask wallet password

    account details

    • Type your password and click on Confirm button
    • Copy your private key to either DEPLOYER or ACCOUNT in the .env file

    account details

    • Repeat these step for the last private key
  • Compile smart contracts

yarn compile

Now, it's all set and ready to run an experiment

Let's move on

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published