An open API service indexing awesome lists of open source software.

https://github.com/elsoul/skeet-cloud-task


https://github.com/elsoul/skeet-cloud-task

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          


Skeet Framework Logo



Follow @ELSOUL_LABO2














# Skeet Solana Utils

This plugin is a collection of utilities for Solana.
Especially works with [Skeet Framework](https://skeet.dev).

## Installation

```bash
npm install @skeet-framework/cloud-task
```

with Skeet Framework

```bash
skeet yarn add -p @skeet-framework/cloud-task
```

## Usage

Checks whether a validator is active on the Solana network.

```typescript
import { createTask } from '@skeet-framework/cloud-task'

const project = 'your-project-id'
const location = 'your-location'
const queue = 'your-queue'
const endpoint = 'https://your.endpoint.url'
const body = { key: 'value' }
const inSeconds = 60 // 1 minute from now
const result = await createTask(
project,
location,
queue,
endpoint,
body,
inSeconds,
)
console.log(result)
```

more functions can be found in the

- [Skeet Solana Utils TypeDoc](https://elsoul.github.io/skeet-cloud-task/)

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/elsoul/skeet This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The package is available as open source under the terms of the [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0).

## Code of Conduct

Everyone interacting in the SKEET project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/elsoul/skeet-cli/blob/master/CODE_OF_CONDUCT.md).