You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
- Add hedera to indexed chains
- Add more docs about adding new chain
- Add more decimals for amounts in usd on the db
## Checklist before requesting a review
- [x] I have conducted a self-review of my code.
- [x] I have conducted a QA.
- [x] If it is a core feature, I have included comprehensive tests.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Documentation**
- Added detailed step-by-step guides for integrating new blockchains and
tokens.
- Expanded setup instructions with additional environment configuration
details.
- **New Features**
- Introduced support for a new blockchain network and HBAR token
pricing.
- Increased currency precision for more accurate financial calculations.
- Enhanced validation to ensure only supported networks are processed.
- **Tests**
- Included new test scenarios to verify proper error handling for
unsupported chains.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Aditya Anand M C <[email protected]>
Co-authored-by: nigiri <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+7
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,13 @@ http://localhost:8082/
112
112
113
113
Use the default password: `my-admin-secret`.
114
114
115
+
## To add a new chain
116
+
117
+
1. On `indexer` package add the chain to `config.yaml` (refer to : [[How to add a new chain](apps/indexer/README.md)] )
118
+
2. On `shared` package modify `tokens.ts` and add the tokens you will search price for (Refer to : [[How to add a new token](apps/shared/README.md)] )
119
+
3. Wait until the new chain is fully indexed
120
+
4. Run bootstrap pricing and metadata scripts (refer to: [[How to run bootstrap for specific chain](scripts/bootstrap/README.md)] )
121
+
115
122
## Contributing
116
123
117
124
Wonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.
0 commit comments