Skip to content

Instantly share code, notes, and snippets.

View bwbush's full-sized avatar

Brian W Bush bwbush

View GitHub Profile
@bwbush
bwbush / Marlowe Choice using Cardano CLI.ipynb
Last active May 21, 2024 20:24
Marlowe Choice using Cardano CLI
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwbush
bwbush / first-kyd-on-midnight.md
Last active December 30, 2023 04:47
Executing a simplified version of Marlowe on Midnight's devnet

Executing a simplified version of Marlowe on Midnight's devnet

Kyd, a Marlowe-like language for smart contracts

The Kyd language is a simplified version of the Marlowe language.

The following Lean 4 types define Kyd. For brevity, we omit the specification of the semantics, but they closely mimic Marlowe's semantics.

@bwbush
bwbush / PLT-9055.ipynb
Last active December 22, 2023 16:51
PLT-9055
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwbush
bwbush / Raffle.ipynb
Created December 15, 2023 16:51
Raffle
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwbush
bwbush / PLT-7581.ipynb
Last active December 11, 2023 12:57
PLT-7581
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwbush
bwbush / 09-minting.ipynb
Created October 5, 2023 23:48
Minting Cardano Native Tokens with Marlowe Tools
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwbush
bwbush / setup-withdrawal.ipynb
Last active August 24, 2023 15:31
Setup Marlowe Payout
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwbush
bwbush / marlowestat.sh
Created August 21, 2023 12:12
MarloweStat
#!/usr/bin/env nix-shell
#!nix-shell -i Rscript -p "rWrapper.override{packages = [ rPackages.RPostgreSQL rPackages.data_table rPackages.lubridate rPackages.jsonlite rPackages.ggplot2 rPackages.scales];}"
require(RPostgreSQL)
require(data.table)
require(lubridate)
require(jsonlite)
require(ggplot2)
require(scales)
@bwbush
bwbush / Oracle Example.ipynb
Last active July 19, 2023 16:40
Example Usage of Marlowe Oracle
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bwbush
bwbush / marlowe-python-example.ipynb
Last active May 24, 2023 02:06
Using Marlowe REST API from Python without other Cardano tools
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.