@defi-warrior/core

1.6.0ย โ€ขย Publicย โ€ขย Published

Defi Warriror V2

Actions Status Version

In-depth documentation on Defi Warrior V2 is available at defiwarrior.io/.

The built contract artifacts can be browsed via unpkg.com.

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

BUILD LIB FOR JAVA

Install library

  • Install solc
  • Install web3j

Version solidity complie

Version solidity: 0.5.16

Compile sol to java lib

Compile file sol to abi and bin file solc contracts/DefiWarrior.sol --bin --abi -o compile

Compile to java lib from abi and bin file web3j generate solidity -a ./bin/contracts/DefiWarrior.abi -b ./bin/contracts/DefiWarrior.bin -o java -p bap.jp

Package Sidebar

Install

npm i @defi-warrior/core

Weekly Downloads

2

Version

1.6.0

License

GPL-3.0-or-later

Unpacked Size

3.54 MB

Total Files

36

Last publish

Collaborators

  • defi-warrior