-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: charms wallet cast, charms wallet list
Also, - Unify calculation of app inputs - Use funding UTXO to fund both the commit and spell transactions - Use "string of charms" as a term for sets of charms (tokens, NFTs, apps) bundled together - Use secret input in the example app contract
- Loading branch information
Showing
23 changed files
with
644 additions
and
415 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: 0 | ||
|
||
apps: | ||
$00: n/${app_id}/${app_vk} | ||
|
||
private_inputs: | ||
$00: "${in_utxo_0}" | ||
|
||
ins: | ||
- utxo_id: ${in_utxo_0} | ||
charms: {} | ||
|
||
outs: | ||
- address: ${addr_0} | ||
charms: | ||
$00: 100000 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: 0 | ||
|
||
apps: | ||
$00: n/${app_id}/${app_vk} | ||
$01: t/${app_id}/${app_vk} | ||
|
||
private_inputs: | ||
$00: "" | ||
|
||
ins: | ||
- utxo_id: ${in_utxo_0} | ||
charms: | ||
$00: 100000 | ||
|
||
outs: | ||
- address: ${addr_0} | ||
charms: | ||
$01: 69420 | ||
- address: ${addr_1} | ||
charms: | ||
$00: 30580 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: 0 | ||
|
||
apps: | ||
$00: n/${app_id}/${app_vk} | ||
$01: t/${app_id}/${app_vk} | ||
|
||
ins: | ||
- utxo_id: ${in_utxo_0} | ||
charms: | ||
$01: 69420 | ||
|
||
- utxo_id: ${in_utxo_1} | ||
charms: | ||
$00: 30580 | ||
|
||
outs: | ||
- address: ${addr_0} | ||
charms: | ||
$00: 30580 | ||
$01: 420 | ||
|
||
- address: ${addr_1} | ||
charms: {} | ||
|
||
- address: ${addr_2} | ||
charms: | ||
$01: 69000 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 0 | ||
|
||
apps: | ||
$00: t/${app_id}/${app_vk} | ||
|
||
ins: | ||
- utxo_id: ${in_utxo_0} | ||
charms: | ||
$00: 420 | ||
|
||
outs: | ||
- address: ${addr_0} | ||
charms: | ||
$00: 420 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.