Skip to content

Latest commit

 

History

History
 
 

recipe

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

module/recipe

Examples for common use cases meant for the REPL.

;; Supported platforms:
;;
[:jvm]

This module hosts a series of recipes, concrete examples regarding how Convex works and how to build high-performance decentralized applications. They are meant to run at the REPL. Early recipes explain core concepts while later ones focus on networking and interacting with the current testnet.

Find more information about the Convex network on the official website.

Those examples rely on 2 libraries from this monorepository:

Recommended order is:

Steps:

  • Clone/fork this repo
  • Ensure Babashka is installed
  • Start REPL from the root of this whole repository
  • Open any of the namespaces above and eval stuff

From the root of this repository, in your terminal:

bb dev '[:module/recipe ...]'

Adding to this vector any other alias that might be useful for you (e.g. an NREPL alias from your ~/.clojure/deps.edn).

Often, especially when running a peer, it is best to set the log level to :debug in order to see more accurately what is going on:

env TIMBRE_LEVEL=:debug bb dev '[:module/recipe ...]'