Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
6920ad0
wip: Implement some missing endpoints
mahmoud-emad Nov 10, 2024
82e8e1e
docs: Updated the README file.
mahmoud-emad Nov 11, 2024
3b6b19f
chore: Refactor webdav server:
mahmoud-emad Nov 11, 2024
7b46388
fix: Fix the webdav example
mahmoud-emad Nov 11, 2024
afc0a6f
updates to webdav server
mariobassem Nov 12, 2024
9003e23
add example to webdav
mariobassem Nov 12, 2024
70bd9e5
wip: use incremental index in ourdb
mariobassem Nov 13, 2024
7ea6f75
WIP: using an incremental_mode flag
mahmoud-emad Nov 13, 2024
159f3f7
WIP: using an incremental_mode flag
mahmoud-emad Nov 13, 2024
57264b5
use incremental mode flag
mariobassem Nov 14, 2024
0477e05
remove web3gw
despiegk Nov 16, 2024
7189e72
Merge branch 'development_integration' into development_webdab_ourdb
despiegk Nov 16, 2024
58dbc8e
...
despiegk Nov 19, 2024
97946cf
chore: Working on supporting locking:
mahmoud-emad Nov 19, 2024
3103599
chore: Working on supporting locking:
mahmoud-emad Nov 19, 2024
d9fab5c
wip: add multisig payment method
mariobassem Nov 21, 2024
eb1b015
chore: Refactor and test the stellar client:
mahmoud-emad Nov 24, 2024
a8afdad
feat: Support generating transaction:
mahmoud-emad Nov 24, 2024
fadbcc6
wip: build transactions
mariobassem Nov 24, 2024
773cb83
build transactions
mariobassem Nov 25, 2024
f39b15d
feat: Support adding the trustline:
mahmoud-emad Nov 25, 2024
9ba2546
wip: add trading functionality to stellar client
mariobassem Nov 25, 2024
c93105a
feat: Support making offers:
mahmoud-emad Nov 26, 2024
7287f51
Merge branch 'development_integration' into development_stellar_clien…
mahmoud-emad Nov 26, 2024
e351c56
feat: support updating/deleting offers
mariobassem Nov 26, 2024
19ec398
feat: Support multisigning transaction:
mahmoud-emad Nov 27, 2024
f90d776
feat: Add initial trading bot functionality
mahmoud-emad Nov 28, 2024
ccefca7
wip: bot implementation
mariobassem Dec 1, 2024
74767b7
wip: bot implementation
mariobassem Dec 2, 2024
ea4a63a
wip: Support selling/deleting sell offer:
mahmoud-emad Dec 3, 2024
f681f15
wip: Refactor and enhance the tradingbot:
mahmoud-emad Dec 4, 2024
18635d4
add update offer
mahmoud-emad Dec 4, 2024
c62d415
Merge branch 'development_integration' into development_stellar_clien…
despiegk Dec 5, 2024
4dd34e3
wip: bot implementation
mariobassem Dec 7, 2024
3aaafc2
chore: Rename ManagerOfferAssetType to OfferAssetType
mahmoud-emad Dec 8, 2024
e6aed99
feat: Enhance buy_low functionality
mahmoud-emad Dec 8, 2024
caa0886
fix: Fix selling/buying offers
mahmoud-emad Dec 8, 2024
50326d7
mdbook hero fixes
timurgordon Dec 9, 2024
0115113
fix: Uncomment the buy method, enhance the logging
mahmoud-emad Dec 9, 2024
85cc0e0
fix: Get the lowest buy offer price
mahmoud-emad Dec 9, 2024
23adf73
fix: Fix asset logger issue
mahmoud-emad Dec 9, 2024
84aa15c
mdbook & doctree fixes wip
timurgordon Dec 10, 2024
e4d8985
feat: Enhance logger:
mahmoud-emad Dec 10, 2024
7faf5a1
hero cli fixes, better error handling, doctree concurrency, overall i…
timurgordon Dec 11, 2024
2b0c389
Merge branch 'development_hero' into development_webdav
despiegk Dec 11, 2024
671c994
Merge branch 'development_webdav' into development_stellar_client_ref…
despiegk Dec 11, 2024
3cacbc8
Merge branch 'development_webdab_ourdb' into development_stellar_clie…
despiegk Dec 11, 2024
ca5c07f
feat: Trading bot functionalty:
mahmoud-emad Dec 11, 2024
248dc7a
fix stellar client examples
mariobassem Dec 11, 2024
b70ab95
fixing stellar client examples
mariobassem Dec 11, 2024
13a7a4e
archive old stellar examples
mariobassem Dec 11, 2024
64dca0a
webdav fixes
despiegk Dec 15, 2024
5310583
...
despiegk Dec 15, 2024
3578c01
...
despiegk Dec 15, 2024
621fc36
openapi model fixes
timurgordon Nov 28, 2024
a7a7d5c
openapi modekl fix
timurgordon Dec 1, 2024
1cb9579
fix openapi model implementation
timurgordon Dec 4, 2024
e52c259
add openapi example
timurgordon Dec 4, 2024
4d35255
hero rpc processor minimal implementation
timurgordon Dec 4, 2024
2c74e53
hero openapi server example
timurgordon Dec 4, 2024
85fe16e
handler generation wip
timurgordon Dec 14, 2024
fd102bd
document example
timurgordon Dec 14, 2024
ee79fcf
Merge pull request #501 from freeflowuniverse/development_openapi
timurgordon Dec 16, 2024
309c02a
improve markdownparser action handling
timurgordon Dec 12, 2024
0e586c2
update examples to use updated doctree
timurgordon Dec 12, 2024
cb76931
fmt and cleanup
timurgordon Dec 14, 2024
5f6822e
cleanup and reorganize wip
timurgordon Dec 14, 2024
f901fbf
hero cleanup, fixes and example
timurgordon Dec 19, 2024
dcc4313
code generation fixes, hero module tuning, develop useful tools
timurgordon Dec 20, 2024
70a824a
generate more actor code & clean baobab
timurgordon Dec 21, 2024
aa5dede
add test_data
timurgordon Dec 23, 2024
88270a1
actor generation fixes and tests wip
timurgordon Dec 25, 2024
72ebec1
server from openrpc spec wip
timurgordon Dec 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM ubuntu:24.04

# Avoid prompts from apt
ENV DEBIAN_FRONTEND=noninteractive

# Install essential build tools and dependencies
RUN apt-get update && apt-get install -y \
git gcc make clang libssl-dev sqlite3 libsqlite3-dev mc htop

# Install V
RUN git clone https://github.com/vlang/v /opt/vlang \
&& cd /opt/vlang \
&& make \
&& ln -s /opt/vlang/v /usr/local/bin/v

CMD ["redis-server"]
7 changes: 7 additions & 0 deletions .devcontainer/check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# if [ -z "${DEPLOYKEY}" ]; then
# echo "ERROR: DEPLOYKEY environment variable is not set"
# exit 1
# fi

39 changes: 39 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "Crystallib Development",
"build": {
"dockerfile": "Dockerfile"
},
"workspaceFolder": "/root/code/github/freeflowuniverse/crystallib",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"upgradePackages": true
}
},
"customizations": {
"vscode": {
"extensions": [
"vosca.vscode-v-analyzer",
"saoudrizwan.claude-dev",
"ms-vscode.vscode-typescript-next",
"mhutchie.git-graph"
]
}
},
"initializeCommand":"./.devcontainer/check.sh",
"privileged":true,
"mounts": [
"source=${localEnv:HOME}/code,target=/root/code,type=bind,consistency=cached"
],
"forwardPorts": [3000, 6379],
"portsAttributes": {
"3000": {
"label": "Hello Remote World",
"onAutoForward": "notify"
}
},
"postStartCommand": "/root/code/github/freeflowuniverse/crystallib/install.sh",
"remoteUser": "root"
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ zdb-index
dump.rdb
output/
*.db
.stellar
vdocs/
data.ms/

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Stellar Client


see [examples/clients/b2_kristof.vsh](examples/clients/stellar.vsh) for example
see [examples/clients/stellar.vsh](examples/clients/stellar.vsh) for example

```v
mut cl:=stellar.get(instance:"test")!
Expand Down
23 changes: 17 additions & 6 deletions cli/hero/hero.v
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module main

import os
import cli { Command }
import cli { Command, Flag }
import freeflowuniverse.crystallib.core.herocmds
import freeflowuniverse.crystallib.hero.publishing
import freeflowuniverse.crystallib.installers.base as installerbase
import freeflowuniverse.crystallib.installers.db.redis
import freeflowuniverse.crystallib.ui.console
Expand All @@ -27,13 +28,21 @@ fn do() ! {
}
}


mut cmd := Command{
name: 'hero'
description: 'Your HERO toolset.'
version: '1.0.31'
}

cmd.add_flag(Flag{
flag: .string
name: 'url'
abbrev: 'u'
global: true
description: 'url of playbook'
})

// herocmds.cmd_run_add_flags(mut cmd)

mut toinstall:=false
if !osal.cmd_exists('mc') || !osal.cmd_exists('redis-cli') {
Expand Down Expand Up @@ -83,13 +92,15 @@ fn do() ! {
herocmds.cmd_generator(mut cmd)
herocmds.cmd_docsorter(mut cmd)


cmd.add_command(publishing.cmd_publisher(pre_func))
cmd.setup()


cmd.parse(os.args)
cmd.parse(os.args)
}

fn main() {
do() or { panic(err) }
}

fn pre_func(cmd Command) ! {
herocmds.plbook_run(cmd)!
}
20 changes: 20 additions & 0 deletions crystallib.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"folders": [
{
"path": "/root/code/github/freeflowuniverse/crystallib/crystallib"
},
{
"path": "/root/code/github/freeflowuniverse/crystallib/aiprompts"
},
{
"path": "/root/code/github/freeflowuniverse/crystallib/scripts"
},
{
"path": "/root/code/github/freeflowuniverse/crystallib/examples"
},
{
"path": "/root/code/github/freeflowuniverse/crystallib/cli"
}
],
"settings": {}
}
4 changes: 0 additions & 4 deletions crystallib/baobab/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions crystallib/baobab/actor/actor.v

This file was deleted.

Loading