Skip to content

castle-finance/castle-vault

Repository files navigation

Castle Vault

This repository contains the open-source code for the Castle Vault program and Typescript SDK. More information can be found on our website here.

Documentation

General Castle docs can be found here.

SDK docs can be found here

Getting Help

Join our Discord channel and post a message in #developers

Setup, Build, and Test

First, install dependencies:

$ yarn install

And install Anchor by following the instructions here.

Build the program:

$ anchor build

Finally, run the tests:

$ cargo test
$ anchor test

Security

Our security policy can be found here

Version semantics

eg. v1.2.3 → (1: major, 2: minor, 3: patch)

Major version bump indicates a backwards-incompatible change in the program API

Minor version bump indicates a backwards-incompatible change in the SDK API

Patch versions are bumped for any backwards-compatible change