Releases: msmolyakov/paddle
Releases · msmolyakov/paddle
Version 0.5.2
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!
Inpaddle.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
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
What's new:
- supported RSA encryption:
new Rsa().sign(SHA256, sourceBytes)
- documentation is translated to Russian language.
Version 0.2.1
Fixes:
- DataTransaction's
Entry.bool(key, value)
andEntry.integer(key, value)
now take values correctly.
Version 0.2
New release of the Paddle!
Detailed features tour is now available in README.md.
What's new:
- NFT api;
- asynchronous actions;
- ability to run custom Docker images of Waves node;
- ability to connect to existing Waves node;
- Docker for Windows supported;
- soft waitings for blockchain height.
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!
v0.1 Merge remote-tracking branch 'origin/master'