Create and manage on chain social graphs.
The packages below can be use to interact with the Protractor program.
npm install @primitives-xyz/protractorCOMING SOON
## cargo add prim-protractorDeveloper documentation for Protractor can be found here.
From the root directory of the repository:
- Install the required packges:
pnpm install- Build the program:
pnpm programs:buildThis will create the program binary at <ROOT>/programs/.bin
Protractor includes two set of tests: BPF and TypeScript.
From the root directory of the repository:
pnpm programs:testFrom the root directory of the repository:
pnpm validatorThis will start a local validator using Amman.
After starting the validator, go to the folder <ROOT>/clients/js and run:
pnpm installThis will install the required packages for the tests. Then, run:
pnpm build && pnpm testTo report a security issue, please follow the guidance on our bug bounty program page.
The Rust/Cargo programs are licensed under the "Apache-style" Metaplex(TM) NFT Open Source License and the JS/TS client libraries are licensed under either the MIT or the Apache licenses.
Check out the Contributing Guide the learn more about how to contribute to this project.
