Skip to content
This repository was archived by the owner on Aug 12, 2021. It is now read-only.

Releases: ArcBlock/forge-java-sdk

v1.0.6: fix bug: random key pair error (#28)

01 Jan 13:35
08a9dbd
Compare
Choose a tag to compare
* fix bug : random keypair error

* bump version

* fix nettify

v1.0.5 is Release

02 Jan 02:21
Compare
Choose a tag to compare
  • clean GraphQL query cache
  • change itx type from string to json

v1.0.4 is Release

09 Dec 07:51
Compare
Choose a tag to compare
  • add mutation for graphQL, now you can use graphQLClient.sentTx(signedTx) to sent a transaction.

v1.0.3

09 Dec 06:49
f4c7215
Compare
Choose a tag to compare
  • add some examples which write by pure java and config by mvn.
  • add GraphQL support

usage:

GraphQLClient gql = new  GraphQLClient("http://localhost:8210/api");
AccountState account = gql.getAccountState(address).getResponse().getState();

more queries can be found http://localhost:8210/developer/query

known issuse

you have to add a extra dependence like pom.xml

untagged-ecda94ea3ad9d010d04f

06 Dec 02:41
00c6291
Compare
Choose a tag to compare
Pre-release
Update .travis.yml

v1.0.1

20 Nov 03:28
Compare
Choose a tag to compare
  • generate WalletInfo by existing PrivateKey
  • declare support issuer
  • consume asset by child account
  • remove auth protocol claim: meta
  • README add more usage

v1.0.0: update to version 1.0.0 (#18)

20 Nov 03:24
b1ebd6e
Compare
Choose a tag to compare

update protobuf for forge release v1.0.0

v0.39.3: support auth principle (#17)

12 Nov 12:56
Compare
Choose a tag to compare
  • update did protocol and support auth principal

v0.39.0: update to 0.39 (#15)

01 Nov 08:39
Compare
Choose a tag to compare
  • deprecated interface use token
  • create a wallet locally
  • multisig locally
  • transer add parameter assets
  • wallet need declare at first time to use
  • Reformat extention method

Simple Usage

forge = ForgeSDK.connect("localhost", 28212)
alice = forge.createWallet()
bob = forge.createWallet()
forge.declare("alice",alice)
forge.declare("Bobb",bob)
forge.poke(alice)
forge.transfer(alice, bob, BigInteger.ONE)    

For java user

Java user can use kotlin object like below:

ForgeSDK.Companion.connect("localhost",28210)

and use kotlin extention like below:

TransactionExtKt.multiSig(tx, alice)

v0.37.2: Feature/delegate (#11)

29 Sep 09:09
Compare
Choose a tag to compare
* bump version

* fix error import

* add did poke demo

* bump version

* fix error import

* add did poke demo

* add poke and transfer help method

* add some test

* bump version