Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Next Version of sBTC Clarity Scaffolding #354

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions clarity/nakamoto/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

**/settings/Mainnet.toml
**/settings/Testnet.toml
.cache/**
history.txt

# Ignore Node and NPM files. Added by the clarinet-sdk migration.
logs
*.log
npm-debug.log*
coverage
*.info
costs-reports.json
node_modules
4 changes: 4 additions & 0 deletions clarity/nakamoto/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"deno.enable": false,
"files.eol": "\n"
}
18 changes: 18 additions & 0 deletions clarity/nakamoto/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

{
"version": "2.0.0",
"tasks": [
{
"label": "check contracts",
"group": "test",
"type": "shell",
"command": "clarinet check"
},
{
"label": "test contracts",
"group": "test",
"type": "shell",
"command": "clarinet test"
}
]
}
44 changes: 44 additions & 0 deletions clarity/nakamoto/Clarinet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[project]
name = 'next'
description = ''
authors = []
telemetry = false
cache_dir = './.cache'
requirements = []
[contracts.sbtc-controller]
path = 'contracts/sbtc-controller.clar'
clarity_version = 2
epoch = 2.4

[contracts.sbtc-db]
path = 'contracts/sbtc-db.clar'
clarity_version = 2
epoch = 2.4

[contracts.sbtc-deposit]
path = 'contracts/sbtc-deposit.clar'
clarity_version = 2
epoch = 2.4

[contracts.sbtc-handoff]
path = 'contracts/sbtc-handoff.clar'
clarity_version = 2
epoch = 2.4

[contracts.sbtc-token]
path = 'contracts/sbtc-token.clar'
clarity_version = 2
epoch = 2.4

[contracts.sbtc-withdraw]
path = 'contracts/sbtc-withdraw.clar'
clarity_version = 2
epoch = 2.4
[repl.analysis]
passes = ['check_checker']

[repl.analysis.check_checker]
strict = false
trusted_sender = false
trusted_caller = false
callee_filter = false
30 changes: 30 additions & 0 deletions clarity/nakamoto/contracts/sbtc-controller.clar
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

;; title: sbtc-controller
;; version:
;; summary:
;; description:

;; traits
;;

;; token definitions
;;

;; constants
;;

;; data vars
;;

;; data maps
;;

;; public functions
;;

;; read only functions
;;

;; private functions
;;

30 changes: 30 additions & 0 deletions clarity/nakamoto/contracts/sbtc-db.clar
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

;; title: sbtc-db
;; version:
;; summary:
;; description:

;; traits
;;

;; token definitions
;;

;; constants
;;

;; data vars
;;

;; data maps
;;

;; public functions
;;

;; read only functions
;;

;; private functions
;;

30 changes: 30 additions & 0 deletions clarity/nakamoto/contracts/sbtc-deposit.clar
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

;; title: sbtc-deposit
;; version:
;; summary:
;; description:

;; traits
;;

;; token definitions
;;

;; constants
;;

;; data vars
;;

;; data maps
;;

;; public functions
;;

;; read only functions
;;

;; private functions
;;

30 changes: 30 additions & 0 deletions clarity/nakamoto/contracts/sbtc-handoff.clar
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

;; title: sbtc-handoff
;; version:
;; summary:
;; description:

;; traits
;;

;; token definitions
;;

;; constants
;;

;; data vars
;;

;; data maps
;;

;; public functions
;;

;; read only functions
;;

;; private functions
;;

30 changes: 30 additions & 0 deletions clarity/nakamoto/contracts/sbtc-token.clar
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

;; title: sbtc-token
;; version:
;; summary:
;; description:

;; traits
;;

;; token definitions
;;

;; constants
;;

;; data vars
;;

;; data maps
;;

;; public functions
;;

;; read only functions
;;

;; private functions
;;

30 changes: 30 additions & 0 deletions clarity/nakamoto/contracts/sbtc-withdraw.clar
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

;; title: sbtc-withdraw
;; version:
;; summary:
;; description:

;; traits
;;

;; token definitions
;;

;; constants
;;

;; data vars
;;

;; data maps
;;

;; public functions
;;

;; read only functions
;;

;; private functions
;;

Loading
Loading