Commit bd2f9bc
authored
Add aiken example (#91)
* Add aiken tooling and example
* Generate blueprint from aiken, load blueprint in haskell
* Add nix cache
* Scaffolding
* Deserialise; failing test
* WIP registration
* WIP build tx
* Implement registration
* Add query function for registry node
* Use Query.registryNodes where possible
* Move some testing functions to test-lib
* WIP testlib
* Update folder and module structure
* Move some modules to programmable-tokens-test and -offchain
* Move some functions to programmable-tokens-offchain
* Separate blacklist logic from transfer logic
* Move some queries to programmable-tokens-offchain
* Move more queries over
* Fix argument duplication in register tx
* Move some code around
* Updates
* Fix tests
* Move some tests over to programmable-token-tests
* Clean up some testing code
* Always-succeeds test
* Address compiler warnings
* Aiken policy registration test passing
* Cleanup
* Add transfer incl. redeemer
* Two different validators for withdrawing and minting
* Add CLI excetubale
* Preview network deployment
* Implement register command
* Implement issue endpoint
* Fix tests
* Add a --dry-run flag
* Add tx-vis script
* Finishing touches
* Update README
* Fix some compiler warnings
* Update generated files
* Fix container
* Fix CI command
* accept flake config
* Build cip-143-cli container1 parent bd23788 commit bd2f9bc
File tree
124 files changed
+4857
-2052
lines changed- .github/workflows
- nix
- preview-network
- src
- examples
- aiken
- aiken
- .github/workflows
- validators
- haskell
- data
- exe/cip-143-cli
- lib/Wst
- Aiken
- Cli
- test
- Wst/Aiken
- regulated-stablecoin
- exe
- calculate-hashes
- convert-key
- export-smart-tokens
- regulated-stablecoin-cli
- write-openapi-schema
- lib/Wst
- Cli
- Offchain
- BuildTx
- Endpoints
- Server
- test/unit
- Wst/Test
- programmable-tokens-offchain
- lib/ProgrammableTokens
- JSON
- OffChain
- BuildTx
- Env
- programmable-tokens-onchain
- lib
- SmartTokens
- Contracts
- Core
- LinkedList
- Types
- Types
- programmable-tokens-test
- lib/ProgrammableTokens
- test
- ProgrammableTokens/Test
- regulated-stablecoin
- lib/Wst/Offchain
- BuildTx
- Endpoints
- test/unit/Wst/Test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
124 files changed
+4857
-2052
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
43 | | - | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| 54 | + | |
51 | 55 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
4 | 28 | | |
5 | 29 | | |
6 | 30 | | |
| |||
18 | 42 | | |
19 | 43 | | |
20 | 44 | | |
| 45 | + | |
21 | 46 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
26 | 53 | | |
27 | 54 | | |
28 | 55 | | |
29 | 56 | | |
30 | 57 | | |
31 | | - | |
32 | | - | |
33 | 58 | | |
34 | 59 | | |
35 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
This file was deleted.
0 commit comments