Lift Cash is a self-governed, cooperative economic system built on the blockchain that allows participants to democratically manage fiscal policy and earn a meaningful, sustainable crypto income through the wisdom of the crowd.
To install and set up the Lift Cash project locally, follow these steps:
Clone the Lift Cash GitHub repository to your local machine:
git clone https://github.com/ICP-hub/liftcash.git
Run the following command to start a local replica of the Internet Computer:
dfx start
Navigate to the project folder and install the required dependencies:
npm install
Replace the Principal
in the LIFT_DEPLOY.sh
and PROMO_DEPLOY.sh
files with your own Principal (e.g., export DEFAULT=sfwko-hd7us-gen5t-ssuci-vfjwf-afepb-a7p4y-guh5l-s5n2e-zuxvt-dae
).
Create a new identity for the minter
and archive_controller
by running:
dfx identity new minter
dfx identity new archive_controller
Run the deployment script to deploy canisters on your local replica. Navigate to the Scripts
folder and make the deploy.sh
script executable:
cd Scripts
chmod +x deploy.sh
./deploy.sh
Run the following commands to pull and deploy any external dependencies required by the project:
-
Pull Dependencies: This command downloads any required dependencies defined in the
dfx.json
file from the mainnet (or from a specified network):dfx deps pull
-
Deploy Dependencies: After pulling the dependencies, deploy them on your local replica:
dfx deps deploy
Run the following command to start the frontend:
npm start
Open your web browser and navigate to http://localhost:3000
to view the application.