{"id":18437847,"url":"https://github.com/zilliqa/zillion","last_synced_at":"2025-04-07T20:34:36.225Z","repository":{"id":96251127,"uuid":"287192053","full_name":"Zilliqa/Zillion","owner":"Zilliqa","description":"Zilliqa Staking App","archived":true,"fork":false,"pushed_at":"2023-10-27T11:59:53.000Z","size":18762,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-16T10:42:56.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zilliqa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-08-13T05:44:52.000Z","updated_at":"2024-05-29T13:25:34.000Z","dependencies_parsed_at":"2023-10-24T16:31:32.150Z","dependency_job_id":"bae32a9a-d545-46d5-b18e-24d67e568fa4","html_url":"https://github.com/Zilliqa/Zillion","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2FZillion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2FZillion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2FZillion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2FZillion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zilliqa","download_url":"https://codeload.github.com/Zilliqa/Zillion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247726135,"owners_count":20985835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T06:16:25.079Z","updated_at":"2025-04-07T20:34:34.236Z","avatar_url":"https://github.com/Zilliqa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zilliqa Staking Wallet App\n\n## Getting Started\n\n\n\n### Development\n1. `yarn`\n\n\n2. Tweak the settings in `public/config.js`\n```\n    networks_config: {\n        testnet: {\n            proxy: \"\u003cproxy_checksum_address\u003e\",\n            impl: \"\u003cimplementation_contract_checksum_address\u003e\",\n            blockchain: \"https://dev-api.zilliqa.com\",\n            node_status: \"https://testnet-viewer.zilliqa.com\",\n            api_list : [\n                \"https://dev-api.zilliqa.com\",\n            ]\n        },\n        mainnet: {\n            proxy: \"\u003cproxy_checksum_address\u003e\",\n            impl: \"\u003cimplementation_contract_checksum_address\u003e\",\n            blockchain: \"https://api.zilliqa.com\",\n            node_status: \"https://staking-viewer.zilliqa.com\",\n            api_list : [\n                \"https://api.zilliqa.com\",\n            ]\n        },\n        isolated_server: {\n            proxy: \"\u003cproxy_checksum_address\u003e\",\n            impl: \"\u003cimplementation_contract_checksum_address\u003e\",\n            blockchain: \"https://zilliqa-isolated-server.zilliqa.com\",\n            node_status: \"\",\n            api_list : [\n                \"https://zilliqa-isolated-server.zilliqa.com\",\n            ]\n        }\n    },\n    blockchain_explorer_config: \"viewblock\",\n    refresh_rate_config: 3000,\n    api_max_retry_attempt: 10,\n    environment_config: \"dev\"\n``` \n\n3. (Optional) If you are interested in using the isolated server, set `environment_config` to `dev` otherwise, set to `stage` for testnet and `prod` for mainnet respectively.\n\nThis enables the \"Isolated Server\" option in the network selection menu and disables authentications checks in the dashboard.\n\n4. Execute `yarn dev` and browse to `https://localhost:3000/`. HTTPS is required due to hardware ledger support.\n\n5. On the home page, select the network. Next, select _Sign in as Delegators_ or _Sign in as Operators_\n\n6. An operator can see \"Staking Performance\", \"Staked Seed Nodes\" whereas delegators can only see \"Staked Seed Nodes\"\n\n7. Explore and execute any actions\n\n8. If the contract details doesn't get updated, click on the \"Dashboard\" wordings on the navigation bar to manually refresh\n\n\n### Production\n\n1. Follow Steps (1) and (2) as stated in **Development** section.\n\n2. Set the `environment_config` flag in `config.js` to `prod`.\n\n3. Assuming the hosted server is running `https`, execute `yarn start`.\n\n4. Done.\n\n\n### Enable / Disable Stake Operations\nAdjust these parameters to disable all stake operations and display a warning banner:\n\n1. At `src/util/enum.ts`, set the `enum ContractState` to **'true'** with the single quotes.\n-- This disables all the stake contract calls buttons and replaces the wordings to **\"Not Available\"**\n\n2. To change the banner display for the main page, edit `src/components/warning-banner.tsx`.\n\n3. To change the banner display for dashboard, edit `src/components/warning-dashboard-banner.tsx`.\n\n\n## Caveats\nThe wallet app does not store your private keys or passphrases for privacy and security concerns. The wallet session object is disconnected upon refreshing the browser. We advise you to avoid refreshing the browser; all statistics are retrieved at regular intervals as configured by `config.js`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliqa%2Fzillion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzilliqa%2Fzillion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliqa%2Fzillion/lists"}