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
I've been trying to set up the Soroban testnet starter project but encountered multiple build failures and errors. Below is a detailed breakdown of the issues:
Steps to Reproduce
Clone the repository:
git clone https://github.com/subquery/stellar-subql-starter.git
cd Stellar
cd soroban-testnet-starter
Initial setup:
npm i
npm run-script build
Errors Encountered
1. Initial Build Error
The first error occurs during the build process:
This error can be addressed by installing the required dependencies:
npm install stellar-sdk soroban-client
2. TypeScript Errors
After installing the dependencies, running npm run-script build produces TypeScript errors:
These errors can be temporarily addressed with null checks:
After addressing the TypeScript errors, running npm run-script build produces additional errors:
The errors are related to type declarations in /src/mappings/mappingHandlers.ts, specifically:
Property 'decoded' does not exist on type 'xdr.t'
4. Docker Issues
Even after addressing all the above issues, there are still problems with the Docker container configuration that prevent successful deployment.
Questions
Is this starter project actively maintained?
Are there plans to update it to work with the latest Soroban testnet?
Could you recommend an alternative working example for indexing Soroban contracts?
Environment
Node.js version: v23.1.0
NPM version: 10.9.0
Operating System: MacOs 15.2 (24C101)
Additional Context
I'm trying to set up an indexer for Soroban contracts and would appreciate guidance on the best approach to achieve this, whether through fixing these issues or using an alternative solution.
The text was updated successfully, but these errors were encountered:
Description
I've been trying to set up the Soroban testnet starter project but encountered multiple build failures and errors. Below is a detailed breakdown of the issues:
Steps to Reproduce
Errors Encountered
1. Initial Build Error
The first error occurs during the build process:
This error can be addressed by installing the required dependencies:
2. TypeScript Errors
After installing the dependencies, running
npm run-script build
produces TypeScript errors:These errors can be temporarily addressed with null checks:
3. Codegen Errors
After addressing the TypeScript errors, running
npm run-script build
produces additional errors:The errors are related to type declarations in
/src/mappings/mappingHandlers.ts
, specifically:4. Docker Issues
Even after addressing all the above issues, there are still problems with the Docker container configuration that prevent successful deployment.
Questions
Environment
Additional Context
I'm trying to set up an indexer for Soroban contracts and would appreciate guidance on the best approach to achieve this, whether through fixing these issues or using an alternative solution.
The text was updated successfully, but these errors were encountered: