open-index/open-npm huggingface dataset:
npm package: @fycastle/vault-core
Description: Core collection of vault interfaces and configurations used throughout the castle.finance stack
Latest version: 0.2.4-rc

# vault-core

Core collection of vault interfaces and configurations used throughout the [castle.finance](https://castle.finance) stack

**Getting Started**

Run the following commands to install dependencies + build the TypeScript:

```
yarn install
yarn build
```

### Scripts

- `yarn install` - installs dependencies
- `yarn build` - builds the distributable package
- `npm pack` - preview files that will be included in published NPM package

**Built with**

- [TypeScript](https://www.typescriptlang.org/)

**License**

Open-source under the MIT License.

Built with :heart: by [Castle Labs](https://castle.finance)
npm package: @fycastle/vault-sdk
Description: Full technical documentation can be found [here](https://castle-finance.github.io/castle-vault/sdk/).
Latest version: 3.1.0-rc0

# Castle Vault SDK

Full technical documentation can be found [here](https://castle-finance.github.io/castle-vault/sdk/).

## Installation

`yarn add @castlefinance/vault-sdk`

## Getting Help

Join [our Discord channel](https://discord.castle.finance) and post a message in #developers

## Examples

### Create the client

```
import { VaultClient, VaultConfig } from '@castlefinance/vault-sdk'

// Pull down the appropriate vault from the API.
const configResponse = await fetch('https://api.castle.finance/configs')
const vaults = (await response.json()) as VaultConfig[]
const vault = vaults.find(
  (v) => v.deploymentEnv == 'mainnet' && v.token_label == 'USDC'
)


// Create the vault client
const vaultClient = await VaultClient.load(
  new anchor.Provider(...),
  vault.vault_id,
  vault.deploymentEnv
)
```

### Deposit

```
// Get the users reserve token ATA
const userReserveToken = await splToken.Token.getAssociatedTokenAddress(
  ASSOCIATED_TOKEN_PROGRAM_ID,
  TOKEN_PROGRAM_ID,
  vaultClient.getVaultState().reserveTokenMint,
  reserveTokenOwner, // e.g. wallet.pubkey or DAO's account
  true
);

// Deposit into the vault
const sig = await vaultClient.deposit(wallet, amount, userReserveToken)
```

### Withdraw

`const sig = await vaultClient.withdraw(wallet, amount)`
npm package: @fycheng/request_control
Description: React Resource Request Component for npm
Author: fycheng
Latest version: 1.0.8

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `yarn build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
npm package: @fycosmos/release-cli
Description: <p align='center'> <a href="https://master--frolicking-moxie-0ae00d.netlify.app/">Live Demo</a> </p>
Latest version: 1.0.1


<p align='center'>
<a href="https://master--frolicking-moxie-0ae00d.netlify.app/">Live Demo</a>
</p>

<br>

## Features

- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [esbuild](https://github.com/evanw/esbuild) - born with fastness

- 🦾 TypeScript, of course

- ☁️ Deploy on Netlify, zero-config

<br>

### Dev tools

- [TypeScript](https://www.typescriptlang.org/)
- [Vitest](https://github.com/vitest-dev/vitest) - Unit testing powered by Vite
- [pnpm](https://pnpm.js.org/) - fast, disk space efficient package manager
- [Netlify](https://www.netlify.com/) - zero-config deployment
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

## Try it now!

> Vitesse requires Node >=16.14

### GitHub Template

[Create a repo from this template on GitHub](https://github.com/YOYZHANG/originApp/generate).

### Clone to local

If you prefer to do it manually with the cleaner git history

```bash
npx degit YOYZHANG/originApp my-app
cd my-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm
```

## Usage

### Development

Just run and visit http://localhost:3333

```bash
pnpm dev
```

### Build

To build the App, run

```bash
pnpm build
```

And you will see the generated file in `dist` that ready to be served.

### Deploy on Netlify

Go to [Netlify](https://app.netlify.com/start) and select your clone, `OK` along the way, and your App will be live in a minute.