Hackathon Workshop – Intro to building on Cardano and Smart Contracts with Aiken

laatste update: 10-2023


In the second webinar from our Hackathon series, Fabian Bormann provides an intro into building on Cardano including a list of tools to support you. Next, Mateusz Czeladka discusses how to harness the power of smart contracts with Aiken.

Click the link below to learn more and to register for the Cardano Summit Hackathon.
/

5 gedachten over “Hackathon Workshop – Intro to building on Cardano and Smart Contracts with Aiken”

  1. How fix

    create-cluster -o –start
    2023-08-18 18:32:54,717 7 [ main] ERROR c.b.c.y.c.localcluster.ClusterCommands – Error
    org.apache.commons.io.IOExceptionList: /clusters/default
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:331)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1192)
    at com.bloxbean.cardano.yacicli.commands.localcluster.ClusterService.createClusterFolder(ClusterService.java:169)
    at com.bloxbean.cardano.yacicli.commands.localcluster.ClusterCommands.createCluster(ClusterCommands.java:111)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.springframework.shell.command.invocation.InvocableShellMethod.doInvoke(InvocableShellMethod.java:306)
    at org.springframework.shell.command.invocation.InvocableShellMethod.invoke(InvocableShellMethod.java:232)
    at org.springframework.shell.command.CommandExecution$DefaultCommandExecution.evaluate(CommandExecution.java:222)
    at org.springframework.shell.Shell.evaluate(Shell.java:244)
    at org.springframework.shell.Shell.run(Shell.java:158)
    at org.springframework.shell.jline.InteractiveShellRunner.run(InteractiveShellRunner.java:73)
    at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:65)
    at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:761)
    at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:751)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:150)
    at com.bloxbean.cardano.yacicli.YaciCliApplication.main(YaciCliApplication.java:28)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:95)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
    at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
    Caused by: java.io.IOException: Cannot delete file: /clusters/default/node-spo1
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1344)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:324)
    … 27 common frames omitted
    Caused by: java.nio.file.NoSuchFileException: /clusters/default/node-spo1/node.sock
    at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
    at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
    at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
    at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
    at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
    at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
    at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2845)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2882)
    at org.apache.commons.io.file.PathUtils.visitFileTree(PathUtils.java:971)
    at org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:434)
    at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:391)
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1341)
    … 28 common frames omitted
    [ERROR] /clusters/default

  2. How fix

    yaci-cli:>create-cluster -o –start
    2023-08-19 03:13:24,734 7 [ main] ERROR c.b.c.y.c.localcluster.ClusterCommands – Error
    org.apache.commons.io.IOExceptionList: /clusters/default
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:331)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1192)
    at com.bloxbean.cardano.yacicli.commands.localcluster.ClusterService.createNodeClusterFolder(ClusterService.java:179)
    at com.bloxbean.cardano.yacicli.commands.localcluster.ClusterCommands.createCluster(ClusterCommands.java:121)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.springframework.shell.command.invocation.InvocableShellMethod.doInvoke(InvocableShellMethod.java:306)
    at org.springframework.shell.command.invocation.InvocableShellMethod.invoke(InvocableShellMethod.java:232)
    at org.springframework.shell.command.CommandExecution$DefaultCommandExecution.evaluate(CommandExecution.java:222)
    at org.springframework.shell.Shell.evaluate(Shell.java:244)
    at org.springframework.shell.Shell.run(Shell.java:158)
    at org.springframework.shell.jline.InteractiveShellRunner.run(InteractiveShellRunner.java:73)
    at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:65)
    at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:761)
    at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:751)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:150)
    at com.bloxbean.cardano.yacicli.YaciCliApplication.main(YaciCliApplication.java:29)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:95)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
    at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
    Caused by: java.io.IOException: Cannot delete file: /clusters/default/node-spo1
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1344)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:324)
    … 27 common frames omitted
    Caused by: java.nio.file.NoSuchFileException: /clusters/default/node-spo1/node.sock
    at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
    at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
    at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
    at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
    at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
    at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
    at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2845)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2882)
    at org.apache.commons.io.file.PathUtils.visitFileTree(PathUtils.java:971)
    at org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:434)
    at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:391)
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1341)
    … 28 common frames omitted
    [ERROR] /clusters/default
    yaci-cli:>

  3. How fix

    yaci-cli:>create-cluster -o –start
    2023-08-19 03:13:24,734 7 [ main] ERROR c.b.c.y.c.localcluster.ClusterCommands – Error
    org.apache.commons.io.IOExceptionList: /clusters/default
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:331)
    at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1192)
    at com.bloxbean.cardano.yacicli.commands.localcluster.ClusterService.createNodeClusterFolder(ClusterService.java:179)
    at com.bloxbean.cardano.yacicli.commands.localcluster.ClusterCommands.createCluster(ClusterCommands.java:121)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.springframework.shell.command.invocation.InvocableShellMethod.doInvoke(InvocableShellMethod.java:306)
    at org.springframework.shell.command.invocation.InvocableShellMethod.invoke(InvocableShellMethod.java:232)
    at org.springframework.shell.command.CommandExecution$DefaultCommandExecution.evaluate(CommandExecution.java:222)
    at org.springframework.shell.Shell.evaluate(Shell.java:244)
    at org.springframework.shell.Shell.run(Shell.java:158)
    at org.springframework.shell.jline.InteractiveShellRunner.run(InteractiveShellRunner.java:73)
    at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:65)
    at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:761)
    at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:751)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:150)
    at com.bloxbean.cardano.yacicli.YaciCliApplication.main(YaciCliApplication.java:29)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:95)
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
    at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
    Caused by: java.io.IOException: Cannot delete file: /clusters/default/node-spo1
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1344)
    at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:324)
    … 27 common frames omitted
    Caused by: java.nio.file.NoSuchFileException: /clusters/default/node-spo1/node.sock
    at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
    at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
    at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:148)
    at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
    at java.base/java.nio.file.Files.readAttributes(Files.java:1851)
    at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
    at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
    at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2845)
    at java.base/java.nio.file.Files.walkFileTree(Files.java:2882)
    at org.apache.commons.io.file.PathUtils.visitFileTree(PathUtils.java:971)
    at org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:434)
    at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:391)
    at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1341)
    … 28 common frames omitted
    [ERROR] /clusters/default
    yaci-cli:>

Reacties zijn gesloten.