Skip to content

Solar-network/client

Solar API client

Installation

pnpm install @solar-network/client

Usage

import { Connection } from "@solar-network/client";

const init = async () => {
    const connection: Connection = new Connection("https://tapi.solar.org/api");

    console.log(await connection.api("blocks").all());
};

init();

See the documentation for more examples.

Security

If you discover a security vulnerability within this package, please send an e-mail to security@solar.org. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

License

Please read the separate LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published