This repository was archived by the owner on Aug 12, 2021. It is now read-only.
Releases: ArcBlock/forge-java-sdk
Releases · ArcBlock/forge-java-sdk
v1.0.6: fix bug: random key pair error (#28)
v1.0.5 is Release
- clean GraphQL query cache
- change itx type from string to json
v1.0.4 is Release
- add mutation for graphQL, now you can use
graphQLClient.sentTx(signedTx)
to sent a transaction.
v1.0.3
- 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
Update .travis.yml
v1.0.1
- 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)
update protobuf for forge release v1.0.0
v0.39.3: support auth principle (#17)
- update did protocol and support auth principal
v0.39.0: update to 0.39 (#15)
- 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)
* 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