Skip to content

Commit

Permalink
chore: Aiken shell
Browse files Browse the repository at this point in the history
  • Loading branch information
euonymos committed Sep 17, 2024
0 parents commit d350970
Show file tree
Hide file tree
Showing 9 changed files with 403 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Continuous Integration

on:
push:
branches: ["main"]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: aiken-lang/setup-aiken@v1
with:
version: v1.1.2
- run: aiken fmt --check
- run: aiken check -D
- run: aiken build
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Aiken compilation artifacts
artifacts/
# Aiken's project working directory
build/
# Aiken's default documentation export
docs/

# Direnv configuration
.direnv/
.envrc

# git pre-commit hooks
.pre-commit-config.yaml
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.PHONY: all build build-dbg clean format

all: clean format build build-dbg
@echo "Done!"

clean:
@rm -f ./scripts/*.plutus

format:
@aiken fmt

build:
@aiken build -u
# @aiken blueprint convert --validator key.revoke > ./scripts/key_validator.plutus
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# bet-ref example using Aiken

This repository contains on-chain code for bet-ref example as it appears in
[Atlas PAB](https://github.com/geniusyield/atlas).

This work is done as a part of Catalyst [project](https://milestones.projectcatalyst.io/projects/1000121) aimed at building a Cardano emulator.
15 changes: 15 additions & 0 deletions aiken.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file was generated by Aiken
# You typically do not need to edit this file

[[requirements]]
name = "aiken-lang/stdlib"
version = "v2.1.0"
source = "github"

[[packages]]
name = "aiken-lang/stdlib"
version = "v2.1.0"
requirements = []
source = "github"

[etags]
18 changes: 18 additions & 0 deletions aiken.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name = "mlabs-haskell/bet-ref-aiken"
version = "0.0.0"
compiler = "v1.1.2"
plutus = "v3"
license = "Apache-2.0"
description = "Aiken contracts for project 'mlabs-haskell/bet-ref-aiken'"

[repository]
user = "mlabs-haskell"
project = "bet-ref-aiken"
platform = "github"

[[dependencies]]
name = "aiken-lang/stdlib"
version = "v2.1.0"
source = "github"

[config]
252 changes: 252 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d350970

Please sign in to comment.