the voting power of ICP flowers need to contribute to a vote (1 ICP flower = 1 voting power)
to dos
create a git submodule for the ICP flower repository that references a branch including a commit similar to this to simulate owning flowers locally. this makes testing the dapp easier
edit the deploy script in package.json to deploy the ICP Flower canister locally similar to ETH and BTC Flower canisters
adapt the votingThreshold, submitProposal, vote, hasVoted, getFlowersFrom (and maybe others) in src/backend/Main.mo to work with the ICP Flower collection
adapt the frontend to ICP Flower collection
ProgressBar.svelte, VotingPower.svelte and others
create the icp flower declarations
add the icp flower actor to store.ts
adapt vite.config.ts to support ICP flower canister id parsing
:warning: No local support for stoic wallet: Use plug instead
Scope
to dos
deploy
script inpackage.json
to deploy the ICP Flower canister locally similar to ETH and BTC Flower canistersvotingThreshold
,submitProposal
,vote
,hasVoted
,getFlowersFrom
(and maybe others) insrc/backend/Main.mo
to work with the ICP Flower collectionProgressBar.svelte
,VotingPower.svelte
and othersdeclarations
store.ts
vite.config.ts
to support ICP flower canister id parsing