Git Product home page Git Product logo

flow-java-client-example's Introduction

Java Flow Client Example

Example Java application using the Flow JVM SDK to interact with Flow blockchain.

Usage

First, install the Flow CLI.

Start the Flow Emulator in the main directory of this repository:

flow emulator start -v

Then, in a separate terminal, run the application with Gradle:

./gradlew test -i

flow-java-client-example's People

Contributors

briandilley avatar jereanon avatar m4ksio avatar psiemens avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flow-java-client-example's Issues

Resource missing flow-jvm-sdk/0.2.0-SNAPSHOT

Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/maven-metadata.xml]
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/flow-jvm-sdk-0.2.0-SNAPSHOT.pom]
Resource missing. [HTTP GET: https://jitpack.io/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/maven-metadata.xml]
- https://plugins.gradle.org/m2/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/maven-metadata.xml
- https://plugins.gradle.org/m2/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/flow-jvm-sdk-0.2.0-SNAPSHOT.pom
- https://repo1.maven.org/maven2/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/maven-metadata.xml
- https://repo1.maven.org/maven2/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/flow-jvm-sdk-0.2.0-SNAPSHOT.pom

issue: Where maven is " flow-jvm-sdk/0.2.0-SNAPSHOT " in ?

Move these examples to the flow-jvm-sdk project

While updating this project for the latest version of the flow-jvm-sdk I realized that there were some changes necessary to the SDK itself. It would make it much easier to keep these examples up to date if we added them to the the SDK project itself. We could update the SDK project to be a multi-module project with 3 modules: sdk, java-example, kotlin-example. @psiemens @m4ksio thoughts?

Received status code 403 from server

Task :compileKotlin FAILED
:compileKotlin (Thread[Execution worker for ':',5,main]) completed. Took 2.437 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileKotlin'.

Could not resolve all files for configuration ':compileClasspath'.
Could not resolve org.onflow:flow-jvm-sdk:0.2.0-SNAPSHOT.
Required by:
project :
> Could not resolve org.onflow:flow-jvm-sdk:0.2.0-SNAPSHOT.
> Unable to load Maven meta-data from https://dl.bintray.com/ethereum/maven/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'https://dl.bintray.com/ethereum/maven/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://dl.bintray.com/ethereum/maven/org/onflow/flow-jvm-sdk/0.2.0-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden

run error

what does this mean?
image

the problems are here mybe, but how to fix it?.
微信图片_20211205174701

mainnet test issue

another issue,
when I test in mainnet
I got null return for createaccount:
image
image
image

anyone knows the reason? thanks

Error on Android platform

Error on Android platform ,Hope to solve this Bug
An error code:
val generator = KeyPairGenerator.getInstance("EC", "BC")
c04ea1811fa5896e684c2cc32ce4ffd

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.