peterpeterparker / proposals.network

Shape the Internet Computer (ICP): Browse and submit NNS & SNS Proposals 🏛️📊🗳️
https://proposals.network
MIT License
6 stars 1 forks source link

feat: init wizard with query params #56

Closed peterpeterparker closed 3 months ago

peterpeterparker commented 3 months ago

Locally a proposal can be initialized with following parameters:

http://localhost:5173/submit?g=bd3sg-teaaa-aaaaa-qaaba-cai&action=TransferSnsTreasuryFunds&destination=123&amount=12324243

Adapted for mainnet:

https://proposals.network/submit?g=<GOVERNANCE_CANISTER_ID_TEXT>&action=TransferSnsTreasuryFunds&destination=<ICRC_ACCOUNT_TEXT>&amount=<ICP_E8S_AMOUNT>