A decentralized web3 app, running 100% on-chain on the Internet Computer, that lets any user start mobilizations by creating campaigns of four different kinds: donations, votes, signatures and fundraising
- Move finished campaigns to a archive canister
- Create neurons-like to stake/lock MMT's
- Donations and fundraising campaigns should allow min and max values
- Add NFid support
- Create a fundraising campaign with tiers for metamob itself
- Follow: https://internetcomputer.org/docs/current/developer-docs/integrations/bitcoin/local-development
- Add this line to bitcoin.conf: fallbackfee=0.00000001
- Run: dfx start --enable-bitcoin Note: if there's already a ~/.local/share/dfx/network/local folder, it must be DELETED if dfx wasn't initialized, at the very first time, with the --enable-bitcoin option, or else the local replica will silently disable the bitcoin features
- Add to dfx.json: "internet_identity": {"type": "custom", "wasm": "canisters-dev/internet_identity.wasm", "candid": "canisters-dev/internet_identity.did", "build": ""},
- Run: ./scripts/deploy-ii.sh
- Copy the local II address and replace the II_URL_LOCAL variable at .env with http://127.0.0.1:4943/?canisterId=**II_CANISTER_ID**
- Remove from dfx.json: "internet_identity": ...
- Follow: https://internetcomputer.org/docs/current/developer-docs/integrations/ledger/ledger-local-setup from step 5 to 6
- Run: ./scripts/deploy-ledger.sh
- Do steps 11 and above
- Run: dfx canister create metamob
- Run: dfx canister create btcwallet
- Run: dfx canister create emailer
- Run: ./scripts/deploy-mmt.sh
- Run: ./scripts/deploy-logger.sh
- Run: ./scripts/deploy-btcwallet.sh
- Set your https://sendinblue.com/ API key executing "export SENDINBLUE_API_KEY=..."
- Run: ./scripts/deploy-emailer.sh
- Run: ./scripts/deploy-filestore.sh
- Update the FILESTORE_URL_LOCAL variable at .env with http://127.0.0.1:4943/{id}?canisterId=**FILESTORE_CANISTER_ID**
- Run: npm install
- Run: npm run dev:back
- Change the "const [form, setForm] = useState({" at site/src/views/users/user/Create.tsx to include "roles: [[{admin: null}]], active: [true],"
- Run: npm run dev:generate
- Run: npm run dev:front
- Go to the login page and create a new Internet Identity anchor: http://localhost:8080/
- Create a new account with the admin role
- Revert the changes done at the 1st step above
- Create new categories and places at the http://localhost:8080/#/admin page
- Find out the ADMIN_ACCOUNT_IDENTIFIER_32_BYTES_IN_HEX at your profile page (the "Ledger account id" field)
- Run: dfx ledger transfer --amount 10000.0 --ledger-canister-id LEDGER_CANISTER_ID --memo 1234 ADMIN_ACCOUNT_IDENTIFIER_32_BYTES_IN_HEX
- Add to dfx.json: "mydaocoin": {"main": "src/mydaocoin/token.mo","type": "motoko"},
- Fill on ./scripts/deploy-mydaocoin.sh: ADMIN_PRINCIPAL
- Run: ./scripts/deploy-mydaocoin.sh
- Remove from dfx.json: "mydaocoin": ...
- Run:
- ./bin/bitcoin-cli -conf=$(pwd)/bitcoin.conf createwallet "test" (or load if one exists: ./bin/bitcoin-cli -conf=$(pwd)/bitcoin.conf loadwallet "test")
- ./bin/bitcoin-cli -conf=$(pwd)/bitcoin.conf getnewaddress
- ./bin/bitcoin-cli -conf=$(pwd)/bitcoin.conf generatetoaddress 1 ADDRESS_GENERATED_BY_THE_COMMAND_ABOVE
- ./bin/bitcoin-cli -conf=$(pwd)/bitcoin.conf generatetoaddress 100 mtbZzVBwLnDmhH4pE9QynWAgh6H3aC1E6M
- ./bin/bitcoin-cli -conf=$(pwd)/bitcoin.conf sendtoaddress BTC_ADDRESS_SHOWN_BY_THE_DONATION_OR_BOOST_DIALOG VALUE_IN_DECIMAL
- ./bin/bitcoin-cli -conf=$(pwd)/bitcoin.conf generatetoaddress 100 mtbZzVBwLnDmhH4pE9QynWAgh6H3aC1E6M