justmoon / dassie Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://dassie.land
License: Apache License 2.0
Home Page: https://dassie.land
License: Apache License 2.0
It would be great to have some kind of packet visualization view that shows the nested frames
This could potentially help people learn the IL stack
Given Dassie is intended partially as a developer playground, this may be suitable
Some nodes crash if address or port already used. I can't interact with them and when trying to open wallet inside in browser it simply not responding. So far there's no interface to restart them with different address.
2.719 [n1] stderr 2022-12-04T12:47:55.675Z ilp-protocol-ildcp received client info. clientAddress=test.das.stub.n1.VXzHn5 assetScale=9 assetCode=XRP
2.802 [n1] stderr node:events:491
2.802 [n1] stderr throw er; // Unhandled 'error' event
2.802 [n1] stderr ^
2.802 [n1] stderr
2.802 [n1] stderr Error: listen EADDRINUSE: address already in use :::5000
2.802 [n1] stderr at __node_internal_captureLargerStackTrace (node:internal/errors:484:5)
2.802 [n1] stderr at __node_internal_uvExceptionWithHostPort (node:internal/errors:583:12)
2.802 [n1] stderr at Server.setupListenHandle [as _listen2] (node:net:1485:16)
2.802 [n1] stderr at listenInCluster (node:net:1533:12)
2.802 [n1] stderr at Server.listen (node:net:1621:7)
2.802 [n1] stderr at new WebSocketServer (/Users/radhy/Documents/@proyek/dassie/node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket-server.js:97:20)
2.802 [n1] stderr at runDebugRpcServer (/Users/radhy/Documents/@proyek/dassie/packages/app-dev/src/runner/effects/debug-rpc-server.ts:55:15)
2.802 [n1] stderr at loopEffect (/Users/radhy/Documents/@proyek/dassie/packages/lib-reactive/src/reactor.ts:122:28)
2.802 [n1] stderr at Reactor.use (/Users/radhy/Documents/@proyek/dassie/packages/lib-reactive/src/reactor.ts:42:9)
2.802 [n1] stderr at EffectContext.run (/Users/radhy/Documents/@proyek/dassie/packages/lib-reactive/src/effect.ts:150:25)
2.802 [n1] stderr at debugRunner (/Users/radhy/Documents/@proyek/dassie/packages/app-dev/src/runner/launchers/node:31:7)
2.802 [n1] stderr at async loopEffect (/Users/radhy/Documents/@proyek/dassie/packages/lib-reactive/src/reactor.ts:124:7)
2.802 [n1] stderr Emitted 'error' event on WebSocketServer instance at:
2.802 [n1] stderr at Server.emit (node:events:513:28)
2.802 [n1] stderr at emitErrorNT (node:net:1512:8)
2.802 [n1] stderr at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2.802 [n1] stderr code: 'EADDRINUSE',
2.802 [n1] stderr errno: -48,
2.802 [n1] stderr syscall: 'listen',
2.802 [n1] stderr address: '::',
2.802 [n1] stderr port: 5000
2.802 [n1] stderr }
2.802 [n1] stderr
2.802 [n1] stderr Node.js v18.12.1
Maybe just MacOS?
(base) โ dassie git:(main) rm -rf local
(base) โ dassie git:(main) pnpm start
> @dassie/[email protected] start /Users/nicholasdudfield/projects/dassie
> node packages/app-dev/bin/start-development-server.js
Dassie//dev
Starting development server...
Debug UI: https://localhost/ <- Start here
โผ child exited code=1 signal=null
โผ error in actor actor="NodeActorsMapped[0]" path="RootActor.RunNodesActor.NodeActorsMapped[0]"
Error: child exited
at ChildProcess.handleChildExit (/Users/nicholasdudfield/projects/dassie/packages/app-dev/src/backend/functions/run-child-process.ts:58:20)
at ChildProcess.emit (node:events:514:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)
โผ error starting nodes
Error: child exited
at ChildProcess.handleChildExit (/Users/nicholasdudfield/projects/dassie/packages/app-dev/src/backend/functions/run-child-process.ts:58:20)
at ChildProcess.emit (node:events:514:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:294:12)
! proxy connection refused, maybe the node is still starting up port=5003
! proxy connection refused, maybe the node is still starting up port=5003
! proxy connection refused, maybe the node is still starting up port=5003
! proxy connection refused, maybe the node is still starting up port=5003
! proxy connection refused, maybe the node is still starting up port=5003
! proxy connection refused, maybe the node is still starting up port=5003
! proxy connection refused, maybe the node is still starting up port=5002
! proxy connection refused, maybe the node is still starting up port=5002
! proxy connection refused, maybe the node is still starting up port=5002
! proxy connection refused, maybe the node is still starting up port=5002
! proxy connection refused, maybe the node is still starting up port=5002
! proxy connection refused, maybe the node is still starting up port=5002
! proxy connection refused, maybe the node is still starting up port=5004
! proxy connection refused, maybe the node is still starting up port=5004
! proxy connection refused, maybe the node is still starting up port=5004
! proxy connection refused, maybe the node is still starting up port=5004
! proxy connection refused, maybe the node is still starting up port=5001
! proxy connection refused, maybe the node is still starting up port=5001
! proxy connection refused, maybe the node is still starting up port=5001
! proxy connection refused, maybe the node is still starting up port=5001
! proxy connection refused, maybe the node is still starting up port=5001
! proxy connection refused, maybe the node is still starting up port=5001
! proxy connection refused, maybe the node is still starting up port=5001
! proxy connection refused, maybe the node is still starting up port=5001
packages/lib-itergen-utils build$ rollup -c
โ [!] TypeError: hashbang is not a function
โ at createLibraryConfig (file:///Users/nicholasdudfield/projects/dassie/common/config/rollup.js:16:17)
โ at file:///Users/nicholasdudfield/projects/dassie/packages/lib-itergen-utils/rollup.config.js:3:16
โ at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
โ at async Promise.all (index 0)
โ at ESMLoader.import (node:internal/modules/esm/loader:530:24)
โ at importModuleDynamicallyWrapper (node:internal/vm/module:438:15)
โ at getConfigFileExport (/Users/nicholasdudfield/projects/dassie/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/loadConfigFile.js:432:17)
โ at Object.loadConfigFile (/Users/nicholasdudfield/projects/dassie/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/loadConfigFile.js:391:59)
โ at getConfigs (/Users/nicholasdudfield/projects/dassie/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/bin/rollup:1680:39)
โ at runRollup (/Users/nicholasdudfield/projects/dassie/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/bin/rollup:1657:43)
Seems to be some kind of issue with the default
imports not working
In common/config/rollup.js
:
import hashbang from "rollup-plugin-hashbang"
At runtime hashbang
is an object with a "default" property
@develoQ @justmoon
This issue is the main tracker for ledger support.
Ledger | Currency | Status |
---|---|---|
XRPL | XRP | Backlog |
Bitcoin-Lightning | BTC | Backlog |
When running the development environment you'll sometimes see errors of the type ECONNRESET: socket hang up
.
This is due to the following upstream Node.js issue: nodejs/node#47130
TODO: should refuse to serialize a value of character length 12 but byte length of 13
Originally posted by @sublimator in #13 (comment)
There are currently some elements that are actors for legacy reasons but probably shouldn't be.
Here are candidates to be converted to either functions, or computed values:
Edit by @justmoon: ed25519 no longer required, added Node.js version check
Nice if it checks for
.node-version
Getting the following error when trying to run on MacBook Pro M1:
error in effect {
effect: 'validateCertificates',
path: 'rootEffect.runNodes.keepArrayEffectsCache.handleArrayChanges..validateCertificates',
error: ProcessOutput {
stdout: '',
stderr: 'Algorithm Ed25519 not found\n' +
'usage: genpkey [-algorithm alg] [cipher] [-genparam] [-out file]\n' +
' [-outform der | pem] [-paramfile file] [-pass arg]\n' +
' [-pkeyopt opt:value] [-text]\n' +
'\n' +
' -algorithm name Public key algorithm to use (must precede -pkeyopt)\n' +
' -genparam Generate a set of parameters instead of a private key\n' +
' -out file Output file to write to (default stdout)\n' +
' -outform format Output format (DER or PEM)\n' +
' -paramfile file File to load public key algorithm parameters from\n' +
' (must precede -pkeyopt)\n' +
' -pass arg Output file password source\n' +
' -pkeyopt opt:value Set public key algorithm option to the given value\n' +
' -text Print the private/public key in human readable form\n',
signal: null,
exitCode: 1
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.