Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scisamir/dapp-exchange
A mini dapp exchange for cardano ecosystem
https://github.com/scisamir/dapp-exchange
aiken deno fresh lucid tailwindcss typescript
Last synced: about 1 month ago
JSON representation
A mini dapp exchange for cardano ecosystem
- Host: GitHub
- URL: https://github.com/scisamir/dapp-exchange
- Owner: scisamir
- Created: 2024-08-22T21:10:49.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T00:25:02.000Z (4 months ago)
- Last Synced: 2024-10-14T08:20:57.085Z (3 months ago)
- Topics: aiken, deno, fresh, lucid, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fresh project
Your new Fresh project is ready to go. You can follow the Fresh "Getting
Started" guide here: https://fresh.deno.dev/docs/getting-started### Usage
Make sure to install Deno: https://deno.land/manual/getting_started/installation
Then start the project:
```
deno task start
```This will watch the project directory and restart as necessary.
# dapp-exchange
Write validators in the `validators` folder, and supporting functions in the `lib` folder using `.ak` as a file extension.
For example, as `validators/always_true.ak`
```gleam
validator {
fn spend(_datum: Data, _redeemer: Data, _context: Data) -> Bool {
True
}
}
```## Building
```sh
aiken build
```## Testing
You can write tests in any module using the `test` keyword. For example:
```gleam
test foo() {
1 + 1 == 2
}
```To run all tests, simply do:
```sh
aiken check
```To run only tests matching the string `foo`, do:
```sh
aiken check -m foo
```## Documentation
If you're writing a library, you might want to generate an HTML documentation for it.
Use:
```sh
aiken docs
```## Resources
Find more on the [Aiken's user manual](https://aiken-lang.org).