Skip to content

Conversation

@Melvillian
Copy link
Collaborator

…h comprehensive documentation

This commit prepares the flashtestations-sdk for its initial public release by:

  1. Overhauling documentation and cleaning up the public API surface.
  2. Transforming the README from a generic TSDX template into comprehensive SDK documentation including installation instructions, API reference, error handling guide, advanced usage patterns, and practical examples.
  3. Unused example files (getBlock.ts and getTransactionReceipt.ts) have been removed

In a future commit we will update the version number to 1.0.0 and publish the SDK to npm

How Has This Been Tested?

Manually

Are there any breaking changes?

Yes, but not in use yet so it's fine

(Optional) Feedback Focus

run yarn test to ensure tests still pass, and run npx tsx examples/verifyBlock.ts as well as npx tsx examples/getFlashtestationTx.ts to make sure those work given the new src/index.ts imports work as expected for those examples.

@graphite-app
Copy link

graphite-app bot commented Nov 4, 2025

Graphite Automations

"Request reviewers once CI passes on sdks monorepo" took an action on this PR • (11/04/25)

3 reviewers were added and 1 assignee was added to this PR based on Siyu Jiang (See-You John)'s automation.

@Melvillian Melvillian force-pushed the flashtestations-sdk/prepare-for-publishing branch 2 times, most recently from 0ce1972 to 08515e4 Compare November 6, 2025 20:47
Copy link

@paranoiacblack paranoiacblack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

```

Code quality is set up for you with `prettier`, `husky`, and `lint-staged`. Adjust the respective fields in `package.json` accordingly.
Returns an array of supported chain IDs: `[130, 1301, 22444422, 33611633]`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have plans to reset/redeploy Unichain Experimental next week and it's unclear if it will be a new chain ID or not (probably will). I note that to say maybe this documentation shouldn't mention the other chain IDs beyond the stable ones like Unichain Sepolia and Unichain Mainnet.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, I've removed these from the README.

@Melvillian Melvillian force-pushed the flashtestations-sdk/prepare-for-publishing branch from 08515e4 to 3c3906e Compare November 6, 2025 21:27
…h comprehensive documentation

This commit prepares the flashtestations-sdk for its initial public release by:

1. Overhauling documentation and cleaning up the public API surface.
2. Transforming the README from a generic TSDX template into comprehensive SDK documentation including
installation instructions, API reference, error handling guide, advanced usage patterns, and practical examples.
3. Unused example files (getBlock.ts and getTransactionReceipt.ts) have been removed

In a future commit we will update the version number to 1.0.0 and publish the SDK to npm

improving VerificationResult handling

rename getFlashtestationTx -> getFlashtestationEvent

this name better matches the data that is returned by the function
@Melvillian Melvillian force-pushed the flashtestations-sdk/prepare-for-publishing branch from 3c3906e to a5c0690 Compare November 6, 2025 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants