Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 809 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 809 Bytes

Pawnhub Contract

License: Apache 2-0 CI

Pawnhub is a P2P pawning platform.

  • Borrowers: Get a loan by pawning an NFT.
  • Lenders: Fund a loan and earn interest or the underlying NFT.

Definitions:

  • Pawn: An item deposited as security for a loan (Noun). Or, the act of depositing the item (Verb).

Program setup

  • Download the spl token metadata program from mainnet

solana program dump metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s spl_token_metadata.so -um

Deploy and verify

anchor build --verifiable -p pawn_shop -- --features mainnet

...