Skip to content

Releases: msmolyakov/paddle

Version 0.5.2

30 Sep 16:46
Compare
Choose a tag to compare

What's new:

  • Since this version, Paddle starts and stops the node truly automatically! Just create test accounts and send transactions, and Paddle will take care of the rest:
import im.mak.paddle.Account;
import static im.mak.paddle.Node.node;

public static void main(String[] args) {
    Account alice = new Account(10_00000000);
    alice.setsScript(s -> s.script("sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)"));
    System.out.println( node().isSmart(alice) ); // => true
}
  • Paddle now supports configuration file!
    In paddle.conf you can specify, must Paddle run docker container or connect to existing node, what a seed to use and etc.
    Also you can override these settings with system properties:
    mvn test -Dpaddle.profile=testnet "-Dpaddle.testnet.faucet-seed=some text here"

Version 0.4.1

16 Sep 10:02
Compare
Choose a tag to compare

What's new:

  • Creating Merkle tree and proofs of its elements:
List<byte[]> leafs = asList("one".getBytes(), "two".getBytes(), "three".getBytes());
MerkleTree tree = new MerkleTree(leafs);
byte[] rootHash = tree.rootHash();
byte[] proof = tree.proofByLeaf("two".getBytes()).get();

Then you can use these root hash and proof in checkMerkleProof() function in smart contracts.

Version 0.3

07 Sep 10:45
Compare
Choose a tag to compare

What's new:

  • supported RSA encryption: new Rsa().sign(SHA256, sourceBytes)
  • documentation is translated to Russian language.

Version 0.2.1

19 Aug 15:18
Compare
Choose a tag to compare

Fixes:

  • DataTransaction's Entry.bool(key, value) and Entry.integer(key, value) now take values correctly.

Version 0.2

19 Aug 08:18
da5f125
Compare
Choose a tag to compare

New release of the Paddle!

Detailed features tour is now available in README.md.

What's new:

Fixed:

  • to set script from file, method Script.fromFile() must be used instead of creating Path:
    alice.setsScript( s -> s.script(fromFile("dapp.ride")) );
  • waiting durations in seconds;
  • output errors while docker node starts.

Initial release!

02 Aug 10:22
Compare
Choose a tag to compare
v0.1

Merge remote-tracking branch 'origin/master'