$ yarn build:contract
$ near dev-deploy
pub struct Book {
title: String,
description: String,
status: Status,
image: String,
}
add_book '{"book":{"description":"Tutorial for mechanics","image":"https://example.com","title":"Motorcycle Mechanics 101","status":"List"}}'
return book_id
update_book '{"book_id":"1", "status":"Read"}'
delete_book '{"book_id":"1"}'
get_book '{"book_id":"1"}'
Get all books from gnaor.testnet
get_books '{"account_id":"gnaor.testnet", "skip":0, "limit": 10}'
Get all books
get_books '{"skip":0, "limit": 10}'