https://github.com/conetproject/solana-obj
https://github.com/conetproject/solana-obj
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/conetproject/solana-obj
- Owner: CoNETProject
- Created: 2025-02-25T20:52:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T00:06:14.000Z (about 1 year ago)
- Last Synced: 2025-06-22T12:07:16.358Z (8 months ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `seguro-gateway` README
The seguro-gateway library.
## Usage
Add as a dependency to a Node.js project:
```bash
yarn add @conet-project/seguro-gateway
```
Import from the package:
```ts
import { Daemon } from '@conet-project/seguro-gateway'
// Launch with default port of 3001 and path of ''
Daemon()
// Launch on port 3005 and path of './'
Daemon(3005, './')
```
Run CLI command:
```bash
yarn run seguro-gateway [--port] [port] [--path] [./path/to/workers]
Examples:
curl -v -4 -x http://127.0.0.1:3002 "https://conet.network"
// Run with default port 3001 and empty path
yarn run seguro-gateway
// Run with port 3005 and current path
Ex: yarn run seguro-gateway --port 3005 --path ./
```
## Development
### Install
```bash
yarn
```
### Lint
```bash
yarn lint
```
### Test
```bash
yarn test
```
### Build
```bash
yarn build
```
### Clean
```bash
yarn clean
```