Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Dryrun#3 as new network #143

Merged
merged 4 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contribution Guide

This section aims to familiarise developers to the Polkadot Staking Dashboard [[GitHub](https://github.com/gluwa/creditcoin3-staking-dashboard), [Demo](https://paritytech.github.io/polkadot-staking-dashboard/#/overview)] for the purpose of contributing to the project.
This section aims to familiarise developers to the Polkadot Staking Dashboard [[GitHub](https://github.com/gluwa/creditcoin3-staking-dashboard), [Demo](https://staking.polkadot.cloud/#/overview)] for the purpose of contributing to the project.

## Submitting Pull Requests

Expand All @@ -26,7 +26,7 @@ If you would like to know more about the Conventional Commits specification, ple

- React 18
- Polkadot JS API [[docs](https://polkadot.js.org/docs/api)]
- React Chart JS 2 for graphing. [[docs](https://www.chartjs.org/docs/latest/), [React docs](https://react-chartjs-2.js.org/)]
- React Chart JS 2 for graphing. [[docs](https://www.chartjs.org/docs/latest/)]
- Framer Motion. [[docs](https://www.framer.com/docs/animation/)]
- [Font Awesome](https://fontawesome.com/v5/search) for the majority of icons. [Ionicons](https://ionic.io/ionicons) for side menu footer icons
- SCSS for theme configuration and Styled Components [[docs](https://styled-components.com/docs)] for component styling.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@polkadot-cloud/utils": "^0.0.25",
"@polkadot/api": "^10.10.1",
"@polkadot/keyring": "^12.1.1",
"@polkadot/rpc-provider": "^10.9.1",
"@polkadot/rpc-provider": "^12.2.3",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "12.6.1",
"@polkawatch/ddp-client": "^2.0.8",
Expand Down
13 changes: 13 additions & 0 deletions src/config/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,19 @@ const makeNetworkList = () => {
subscanEndpoint: 'https://subscan-cc3-devnet.creditcoin.network',
subscanUrl: 'https://creditcoin3-dev.subscan.io',
});
networks.dryRun3 = makeCreditcoinNetwork({
name: 'dryrun',
endpoints: {
lightClient: null,
defaultRpcEndpoint: 'Gluwa',
rpcEndpoints: {
Gluwa: 'wss://rpc.cc3-devnet-dryrun.creditcoin.network/ws',
},
},
namespace: '09573a3526818a8ecd6eb92f60f1175d',
subscanEndpoint: '',
subscanUrl: '',
});
}
networks.creditcoinTest = makeCreditcoinNetwork({
name: 'creditcoinTest',
Expand Down
3 changes: 2 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export type NetworkName =
| 'creditcoin'
| 'creditcoinDev'
| 'creditcoinTest'
| 'creditcoinLocal';
| 'creditcoinLocal'
| 'dryrun';

export type Networks = Record<string, Network>;

Expand Down
Loading
Loading