GithubHelp home page GithubHelp logo

luxoft / cordentity-poc-supply-chain Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 16.0 235.39 MB

A proof of concept for cordentity

Kotlin 67.90% Dockerfile 0.26% JavaScript 23.56% CSS 8.11% HTML 0.09% Shell 0.09%
blockchain-technology cordentity proof-of-concept

cordentity-poc-supply-chain's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordentity-poc-supply-chain's Issues

Broken Compose.md build

When I follow build instructions in docs/devops/Compose.md,
I am able to sucessfuly run all steps up to docker-compose up -d notary mfcorda tccorda sacorda.
After that docker logs -f mfcorda outputs me an error, from which I assume that the build goes wrong:

  docker logs -f mfcorda
  
     ______               __
    / ____/     _________/ /___ _
   / /     __  / ___/ __  / __ `/         It runs on the JVM because QuickBasic
  / /___  /_/ / /  / /_/ / /_/ /          is apparently not 'professional' enough.
  \____/     /_/   \__,_/\__,_/
  
  --- Corda Open Source 3.1-corda (d193dd8) -----------------------------------------------
  
  
  Logs can be found in                    : /opt/corda/logs
  Database connection url is              : jdbc:h2:tcp://127.0.1.1:46613/node
  Advertised P2P messaging addresses      : localhost:10001
  RPC connection address                  : localhost:10002
  RPC admin connection address            : localhost:10003
  E 14:06:45+0000 [main] internal.Node.run - Exception during node startup {}
   io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
  	at io.netty.channel.unix.Errors.newIOException(Errors.java:117) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.unix.Socket.bind(Socket.java:234) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:91) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) ~[netty-all-4.1.9.Final.jar:4.1.9.Final]
  	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]

There is no SovrinAgent Corda node nor WebApp

Hi Team, in docker-compose.yml, there is no SovrinAgent Corda node and web configurations, but in docs/devops/Compose.md, it still has the docker-compose command for sacorda and saweb, so I need to remove them from the command to make compose work.

May I know why SovrinAgent has been removed? If I still would like to get the knowledge about its CorDapp and backend services, where can I get it? Kindly advise.

Thanks

Running the demo

Hi team,

I'm trying to build & run the demo. For the moment I managed to deployed the Android app and the frontend, but I am not pretty sure how to deploy/run the Corda nodes and/or web app services. How can I run those nodes?

Some remaining questions on my sides:

  • When the Frontend is running, is it possible to access it by IP address rather than "localhost"?
  • The Android app can actually scan the QR code from Treatment center, and the next scenario can continue if I am correct?
  • Where can I see the usage of IndyService (from the concept of Cordentity github) in this POC?

Many thanks for your help and have a great day,
AD

PS: I've managed to run the Corda Nodes by running the runnodes script in the build/nodes folder

One issue when run deployJarsToNodes task

Hi Team, I am using Virtual Box in my Macbook, and Ubuntu 18.04 as the OS, when running the deployJarsToNodes task, there is one error that the "cordentity-cordapp-contracts-states" jar could not be downloaded, read time out. Could you please provide some suggestion how should I fix this issue? Thanks.

error

Cordentity library doesn't work

I got the error below when I tried to run Corda nodes.

[ERROR] 09:59:13+0300 [main] internal.NodeStartupLogging. - Exception during node startup: Incompatible schema change detected. Please run schema migration scripts (node with sub-command run-migration-scripts). Reason: Schema-validation: missing table [CredentialDefinitionSchemaV1$PersistentCredentialDefinition]

I guess SQL table xmls are missing. How did you use this library without these xmls?
I am not sure this project is the right place for this issue but Cordentity project is archived now.

Build fails if xterm is not installed

Some of the frontend stuff seems to require xterm for running, ignoring the default terminal settings.

Workaroud (Ubuntu)

Add an executable file to /bin/xterm with

#!/bin/bash
x-terminal-emulator "$@"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.