Honey Defi
  • Welcome to Honey Defi!
  • Quick Start
  • Honey Protocol Tests
  • Honey Protocol on Local Validator
  • Reference
    • API Reference
      • Actions
      • Wrappers
    • FAQ
Powered by GitBook
On this page

Honey Protocol on Local Validator

Where are the tests, how do you setup local validator. what is an example of onchain code

// start solana-test-validator in another terminal instance
solana-test-validator

// build honey + test writer helper program
git clone https://github.com/honey-labs/nftLendBorrow.git && cd nftLendBorrow
anchor build
anchor deploy

// this will output a line similar to the one below, run both for honey and 
// the test writer
solana program deploy /path/to/clone/repo/nftLendBorrow/target/deploy/jet.so
solana program deploy /path/to/clone/repo/nftLendBorrow/target/deploy/test_writer.so

PreviousHoney Protocol TestsNextAPI Reference

Last updated 3 years ago