Skip to content

detextre4/adbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

687156d · May 30, 2023

History

56 Commits
May 25, 2023
May 25, 2023
May 25, 2023
May 27, 2023
May 25, 2023
May 27, 2023
May 25, 2023
May 25, 2023
May 25, 2023
May 25, 2023
May 25, 2023
May 25, 2023
May 30, 2023
May 25, 2023
May 26, 2023
May 27, 2023
May 25, 2023
May 26, 2023
May 26, 2023

Repository files navigation

ADBox Project

Welcome to my new adbox (Anonymous disscusion box) project.

Quick Start

  1. dfx installed to your local machine, making sure you can deploy canister to your local machine.

  2. flutter installed, and use flutter doctor -v make sure everything works

  3. flutter pub get before running this example.

  4. If you want to use MacOS to debug, make sure macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements have content below xml ... com.apple.security.network.client

  5. Deploy canister use dfx deploy, the ADBox canister will be running on your local replica. Make sure you put the ADBoxCanister canister id inside .dfx/local/canister_ids.json to your main.dart, the json like this: json { "__Candid_UI": { "local": "x2dwq-7aaaa-aaaaa-aaaxq-cai" }, "adbox_backend": { "local": "x5cqe-syaaa-aaaaa-aaaxa-cai" } }

  6. inside main.dart, you should change settings with canisterId to your actual id. dart // initialize agent, change canister id here: (lib/adbox_canister.dart) _agentFactory ??= await AgentFactory.createAgent( canisterId: newCanisterId ?? (isMainnet ? "ffy5o-bqaaa-aaaag-abphq-cai" : "br5f7-7uaaa-aaaaa-qaaca-cai"), );

  7. start bash flutter run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published