We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is no clear documentation on what the Factory Module is or what it does
Update README to include a few things:
README
We may want a separate document for each integrated program to describe the associated functions
The text was updated successfully, but these errors were encountered:
Obviously not an answer for the issue:
https://build.staratlas.com/apis-and-data/factory
Some things i've done with just experimenting:
import * as factory from "@staratlas/factory"; //// const starAtlasId = new PublicKey('FLEET1qqzpexyaDpqb2DGsSzE2sDCizewCg9WjrA6DBW'); const idl: Idl = factory.getIDL(starAtlasId) as Idl; const programStarAtlas = new Program(idl, starAtlasId, provider); const fleet = await factory.getAllFleetsForUserPublicKey( connection, new PublicKey(...), //pubkey for playerAccount starAtlasId ); ```
Sorry, something went wrong.
No branches or pull requests
Problem
There is no clear documentation on what the Factory Module is or what it does
Solution
Update
README
to include a few things:Alternatives Considered
Notes
We may want a separate document for each integrated program to describe the associated functions
The text was updated successfully, but these errors were encountered: