Skip to content

Commit

Permalink
[KEW-1360] Fork CDT
Browse files Browse the repository at this point in the history
  • Loading branch information
jalbiero committed Jul 4, 2019
1 parent 7d85f0e commit df3a390
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
.DS_Store

# Build
build/*
build*/*
73 changes: 19 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,20 @@
# EOSIO.CDT (Contract Development Toolkit)
## Version : 1.6.1
# WAX-CDT (Contract Development Toolkit)
## Version : wax-1.6.1-1.0.0

EOSIO.CDT is a toolchain for WebAssembly (WASM) and set of tools to facilitate contract writing for the EOSIO platform. In addition to being a general purpose WebAssembly toolchain, [EOSIO](https://github.com/eosio/eos) specific optimizations are available to support building EOSIO smart contracts. This new toolchain is built around [Clang 7](https://github.com/eosio/llvm), which means that EOSIO.CDT has the most currently available optimizations and analyses from LLVM, but as the WASM target is still considered experimental, some optimizations are not available or incomplete.

## Important!
EOSIO.CDT Version 1.3.x introduced quite a few breaking changes. To have binary releases we needed to remove the concept of a core symbol from EOSIO.CDT. This meant drastic changes to symbol, asset and other types/functions that were connected to them. Since these changes would be disruptive, we decided to add as many disruptive changes needed for future contract writing, so that disruption should only occur once. Please read the **_Differences between Version 1.2.x and Version 1.3.x_** section of this readme.

### Binary Releases
EOSIO.CDT currently supports Mac OS X brew, Linux x86_64 Debian packages, and Linux x86_64 RPM packages.

**If you have previously installed EOSIO.CDT, please run the `uninstall` script (it is in the directory where you cloned EOSIO.CDT) before downloading and using the binary releases.**

#### Mac OS X Brew Install
```sh
$ brew tap eosio/eosio.cdt
$ brew install eosio.cdt
```
#### Mac OS X Brew Uninstall
```sh
$ brew remove eosio.cdt
```
#### Debian Package Install
```sh
$ wget https://github.com/eosio/eosio.cdt/releases/download/v1.6.1/eosio.cdt_1.6.1-1_amd64.deb
$ sudo apt install ./eosio.cdt_1.6.1-1_amd64.deb
```
#### Debian Package Uninstall
```sh
$ sudo apt remove eosio.cdt
```

#### Fedora RPM Package Install
```sh
$ wget https://github.com/eosio/eosio.cdt/releases/download/v1.6.1/eosio.cdt-1.6.1-1.fedora-x86_64.rpm
$ sudo yum install ./eosio.cdt-1.6.1-1.fedora-x86_64.rpm
```

#### Fedora RPM Package Uninstall
```sh
$ sudo yum remove eosio.cdt
```

#### Centos RPM Package Install
```sh
$ wget https://github.com/eosio/eosio.cdt/releases/download/v1.6.1/eosio.cdt-1.6.1-1.centos-x86_64.rpm
$ sudo yum install ./eosio.cdt-1.6.1-1.centos-x86_64.rpm
```

#### Centos RPM Package Uninstall
```sh
$ sudo yum remove eosio.cdt
```
WAX-CDT is a toolchain for WebAssembly (WASM) and set of tools to facilitate contract writing for the WAX platform.

### Guided Installation (Building from Scratch)
We are not providing pre-compiled packages (\*). Therefore, you will have to compile the source code and install it with the following instructions:

```sh
$ git clone --recursive https://github.com/eosio/eosio.cdt
$ cd eosio.cdt
$ git clone --recursive https://github.com/worldwide-asset-exchange/wax-cdt.git
$ cd wax-cdt
$ ./build.sh
$ sudo ./install.sh
```

(\*) We have a development docker ready to be used, see [this](https://github.com/worldwide-asset-exchange/wax-blockchain/tree/develop/samples/hello-world)

### Installed Tools
---
* eosio-cpp
Expand All @@ -73,3 +28,13 @@ $ sudo ./install.sh
* eosio-ar
* eosio-objdump
* eosio-readelf

### Resources
- [Website](https://wax.io)
- [Blog](https://wax.io/blog)
- [Community Telegram Group](https://t.me/wax_io)
- [White Paper](https://wax.io/uploads/WAX_White_Paper.pdf)

### License
[MIT](https://github.com/worldwide-asset-exchange/wax-blockchain/blob/master/LICENSE)

0 comments on commit df3a390

Please sign in to comment.