OpenFPL is a decentralised fantasy football application built on the Internet Computer blockchain using Svelte, TypeScript & Motoko.
- Unique Gameplay: A wide range of gameplay rules mirroring the varying elements of the football gameplay.
- Fully Decentralised: Built to run as a DAO using the IC's Service Nervous System (SNS).
- Consensus Data: Runs fully on-chain using "consensus data" to take ownership of Premier League football data.
These steps assume that you already run IC projects within a local development environment, ensuring you have the experience to test this application.
More information about the Internet Computer blockchain can be found at https://internetcomputer.org.
- Clone the repository:
git clone https://github.com/jamesbeadle/OpenFPL.git- Navigate to the directory:
cd OpenFPLIf using npm:
npm installIf using yarn:
yarn install- Deploy the application:
dfx deploy --network=local-
Within the CanisterIds.mo file, update MAIN_CANISTER_LOCAL_ID to your deployed OpenFPL_backend canister.
-
Redeploy the OpenFPL_backend file with the updated canister.
-
Fabricate some cycles for the main backend canister:
dfx ledger fabricate-cycles --canister OpenFPL_backend-
Load the OpenFPL_backend canister init() function through the backend candid interface.
-
Test the current state of the live app by connecting with your internet identity and updating your profile information.