Giter VIP home page Giter VIP logo

blocksdk-java's Introduction

JAVA REST API SDK for BLOCKSDK V3

@BLOCKSDK on Facebook License

__BlockSDK JAVA__에 오신 것을 환영합니다. 이 저장소에는 BlockSDK의 JAVA SDK와 REST API용 샘플이 포함되어 있습니다.

지원중인 블록체인 네트워크

비트코인 , 라이트코인 , 비트코인 캐시 , 웹후크 는 V2버전 에서 지원되고 있습니다.

1.이더리움
2.클레이튼  
3.바이낸스 스마트 체인
4.폴리곤
5.아발란체
6.이더리움 클래식

개발자 문서

시작하기

Maven

<dependency>
    <groupId>io.github.block-chen</groupId>
    <artifactId>blocksdk-java</artifactId>
    <version>3.0.0</version>
</dependency>

Gradle

implementation 'io.github.block-chen:blocksdk-java:3.0.0'

코드 샘플

이더리움 테스트넷 클라이언트 생성

Ethereum Client = new Ethereum("YOU_TLKEN");

이더리움 메인넷 클라이언트 생성

Ethereum Client = new Ethereum("YOU_TLKEN", "https://mainnet-api.blocksdk.com");

이더리움 블록체인 정보 가져오기

Map<String, Object> data = Client.GetBlockchainInfo().join();
System.out.println(data);

이더리움 특정 컨트렉트 NFT 목록 가져오기

Map<String, Object> data = new HashMap<>();
data.put("contract_address", "0xf5de760f2e916647fd766b4ad9e85ff943ce3a2b");
data.put("offset", "0");
data.put("limit", "10");

Map<String, Object> result = Client.GetSingleNfts(data).join();
System.out.println(result);

blocksdk-java's People

Contributors

blockchen-admin avatar lee-il-woo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.