Skip to content

triipme/basic_referral_motoko_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic referral feature for IC Sustainations DAO

Welcome to our Basic referral feature for Sustainations DAO project and to the internet computer development community.

💚 SUSTAINATIONS is a global private community of change-makers, founders, farmers, and builders who work together to write a greener future for our community and the Earth.

Prerequisites

Verify the following before running this demo:

  • Install DFX 0.12.0 DFX_VERSION=0.12.0 sh -ci "$(curl -fsSL https://smartcontracts.org/install.sh)"

  • Install vessel: https://github.com/dfinity/vessel

  • To run the test scripts, you need to download ic-repl.

Demo

  1. Start a local internet computer.

    dfx start
    
  2. Open a new terminal window.

  3. Create test identities

    $ dfx identity new Alice --disable-encryption; dfx identity use Alice; export ALICE=$(dfx identity get-principal);
    $ dfx identity new Bob --disable-encryption; dfx identity use Bob; export BOB=$(dfx identity get-principal);
    
  4. Deploy canisters

    $ ./scripts/deploy_local.sh
    $ export BASIC_REFERRAL=$(dfx canister id backend);
    
  5. Run the ic-repl test script.

    ic-repl scripts/referral.test.sh
    

About

Basic referral feature for IC Sustainations DAO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published