Skip to content
This repository was archived by the owner on Sep 8, 2026. It is now read-only.

Commit d146d11

Browse files
committed
Rename TurtleCoin-prefixed files to WrkzCoin and update build/runtime references
1 parent c70806b commit d146d11

20 files changed

Lines changed: 225 additions & 2711 deletions

‎CMakeLists.txt‎

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
22
# Copyright (c) 2018-2019, The TurtleCoin Developers
3+
# Copyright (c) 2026, The WrkzCoin Developers
34
#
45
# Please see the included LICENSE file for more information.
56

@@ -15,7 +16,7 @@ set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are
1516
set(CMAKE_CONFIGURATION_TYPES Debug RelWithDebInfo Release CACHE TYPE INTERNAL)
1617
set(ARCH native CACHE STRING "CPU to build for: -march value or default")
1718

18-
project(turtlecoin-crypto)
19+
project(wrkzcoin-crypto)
1920

2021
# Required for finding Threads on ARM
2122
enable_language(C)
@@ -222,34 +223,34 @@ include_directories(external/ed25519)
222223
add_library(crypto STATIC ${BASE_CRYPTO})
223224

224225
set(SOURCES
225-
src/turtlecoin-crypto.cpp
226+
src/wrkzcoin-crypto.cpp
226227
)
227228

228-
add_library(turtlecoin-crypto-static STATIC ${SOURCES})
229-
target_link_libraries(turtlecoin-crypto-static crypto argon2 ed25519)
229+
add_library(wrkzcoin-crypto-static STATIC ${SOURCES})
230+
target_link_libraries(wrkzcoin-crypto-static crypto argon2 ed25519)
230231

231232
if(NOT BUILD_JS AND NOT BUILD_WASM)
232233
if(WIN32)
233-
add_library(turtlecoin-crypto-shared SHARED ${SOURCES})
234-
target_link_libraries(turtlecoin-crypto-shared crypto argon2 ed25519)
235-
target_link_libraries(turtlecoin-crypto-static ws2_32)
236-
target_link_libraries(turtlecoin-crypto-shared ws2_32)
234+
add_library(wrkzcoin-crypto-shared SHARED ${SOURCES})
235+
target_link_libraries(wrkzcoin-crypto-shared crypto argon2 ed25519)
236+
target_link_libraries(wrkzcoin-crypto-static ws2_32)
237+
target_link_libraries(wrkzcoin-crypto-shared ws2_32)
237238
endif()
238239

239240
set(CRYPTOTEST_SOURCES
240241
tests/cryptotest.cpp
241242
)
242243

243244
add_executable(cryptotest ${CRYPTOTEST_SOURCES})
244-
target_link_libraries(cryptotest turtlecoin-crypto-static)
245+
target_link_libraries(cryptotest wrkzcoin-crypto-static)
245246
set_property(TARGET cryptotest PROPERTY OUTPUT_NAME "cryptotest")
246247
else()
247248
set(JAVSCRIPT_SOURCES
248-
src/turtlecoin-crypto-js.cpp
249+
src/wrkzcoin-crypto-js.cpp
249250
)
250251

251-
add_executable(turtlecoin-crypto ${JAVSCRIPT_SOURCES})
252-
target_link_libraries(turtlecoin-crypto turtlecoin-crypto-static)
252+
add_executable(wrkzcoin-crypto ${JAVSCRIPT_SOURCES})
253+
target_link_libraries(wrkzcoin-crypto wrkzcoin-crypto-static)
253254

254255
# Override our release flags for emscripten compatibility
255256
set(CMAKE_C_FLAGS_DEBUG "")
@@ -262,7 +263,7 @@ else()
262263
--llvm-lto 3
263264
--closure 1
264265
-s SINGLE_FILE=1
265-
-s EXPORT_NAME="'TurtleCoinCrypto'"
266+
-s EXPORT_NAME="'WrkzCoinCrypto'"
266267
-s POLYFILL_OLD_MATH_FUNCTIONS=1
267268
-s MODULARIZE=1
268269
--bind
@@ -274,13 +275,13 @@ else()
274275
set(CMAKE_EXECUTABLE_SUFFIX ".js")
275276
set(JS_LINKFLAGS_STR "${JS_LINKFLAGS_STR} -s WASM=0 --js-opts 1")
276277
message(STATUS "emcc flags: ${JS_LINKFLAGS_STR}")
277-
set_target_properties(turtlecoin-crypto PROPERTIES LINK_FLAGS "${JS_LINKFLAGS_STR}")
278+
set_target_properties(wrkzcoin-crypto PROPERTIES LINK_FLAGS "${JS_LINKFLAGS_STR}")
278279
endif()
279280

280281
if(BUILD_WASM)
281282
set(CMAKE_EXECUTABLE_SUFFIX "-wasm.js")
282283
set(JS_LINKFLAGS_STR "${JS_LINKFLAGS_STR} -s WASM=1 -s BINARYEN_METHOD='native-wasm'")
283284
message(STATUS "emcc flags: ${JS_LINKFLAGS_STR}")
284-
set_target_properties(turtlecoin-crypto PROPERTIES LINK_FLAGS "${JS_LINKFLAGS_STR} -s WASM=1 -s BINARYEN_METHOD='native-wasm'")
285+
set_target_properties(wrkzcoin-crypto PROPERTIES LINK_FLAGS "${JS_LINKFLAGS_STR} -s WASM=1 -s BINARYEN_METHOD='native-wasm'")
285286
endif()
286287
endif()

‎LICENSE‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4747
****************************************************************
4848

4949
Copyright (c) 2018, The TurtleCoin Developers
50+
Copyright (c) 2026, The WrkzCoin Developers
5051

5152
TurtleCoin is free software: you can redistribute it and/or modify
5253
it under the terms of the GNU General Public License as published by

‎README.md‎

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
![image](https://user-images.githubusercontent.com/34389545/35821974-62e0e25c-0a70-11e8-87dd-2cfffeb6ed47.png)
22

3-
# TurtleCoin: Standalone Cryptography Library
3+
# WrkzCoin: Standalone Cryptography Library
44

5-
[![NPM](https://nodei.co/npm/turtlecoin-crypto.png?downloads=true&stars=true)](https://nodei.co/npm/turtlecoin-crypto/)
5+
[![NPM](https://nodei.co/npm/wrkzcoin-crypto.png?downloads=true&stars=true)](https://nodei.co/npm/wrkzcoin-crypto/)
66

7-
![Prerequisite](https://img.shields.io/badge/node-%3E%3D6-blue.svg) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/turtlecoin/turtlecoin-crypto/graphs/commit-activity) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-yellow.svg)](https://github.com/turtlecoin/turtlecoin-crypto/blob/master/LICENSE) [![Twitter: TurtlePay](https://img.shields.io/twitter/follow/_TurtleCoin.svg?style=social)](https://twitter.com/_TurtleCoin)
7+
![Prerequisite](https://img.shields.io/badge/node-%3E%3D6-blue.svg) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/turtlecoin/wrkzcoin-crypto/graphs/commit-activity) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-yellow.svg)](https://github.com/turtlecoin/wrkzcoin-crypto/blob/master/LICENSE) [![Twitter: TurtlePay](https://img.shields.io/twitter/follow/_TurtleCoin.svg?style=social)](https://twitter.com/_TurtleCoin)
88

99
#### Master Build Status
10-
[![Build Status](https://github.com/turtlecoin/turtlecoin-crypto/workflows/CI%20Build%20Tests/badge.svg?branch=master)](https://github.com/turtlecoin/turtlecoin-crypto/actions)
10+
[![Build Status](https://github.com/turtlecoin/wrkzcoin-crypto/workflows/CI%20Build%20Tests/badge.svg?branch=master)](https://github.com/turtlecoin/wrkzcoin-crypto/actions)
1111

1212
#### Development Build Status
13-
[![Build Status](https://github.com/turtlecoin/turtlecoin-crypto/workflows/CI%20Build%20Tests/badge.svg?branch=development)](https://github.com/turtlecoin/turtlecoin-crypto/actions)
13+
[![Build Status](https://github.com/turtlecoin/wrkzcoin-crypto/workflows/CI%20Build%20Tests/badge.svg?branch=development)](https://github.com/turtlecoin/wrkzcoin-crypto/actions)
1414

15-
This repository contains the necessary files to compile the cryptography library used within [TurtleCoin](https://turtlecoin.lol) as a standalone library that can be included in various other projects in a variety of development environments, including:
15+
This repository contains the necessary files to compile the cryptography library used within WrkzCoin as a standalone library that can be included in various other projects in a variety of development environments, including:
1616

1717
* Node.js >= 6.x
1818
* C++
@@ -42,23 +42,23 @@ Read very careful if you want this to work right the first time.
4242
### Installation
4343

4444
```bash
45-
npm install turtlecoin-crypto
45+
npm install wrkzcoin-crypto
4646
```
4747

4848
### Intialization
4949

5050
#### TypeScript
5151

5252
```javascript
53-
import { Crypto } from 'turtlecoin-crypto';
54-
const TurtleCoinCrypto = new Crypto();
53+
import { Crypto } from 'wrkzcoin-crypto';
54+
const WrkzCoinCrypto = new Crypto();
5555
```
5656

5757
#### CommonJS
5858

5959
```javascript
60-
const Crypto = require('turtlecoin-crypto').Crypto
61-
const TurtleCoinCrypto = new Crypto()
60+
const Crypto = require('wrkzcoin-crypto').Crypto
61+
const WrkzCoinCrypto = new Crypto()
6262
```
6363

6464
#### Documentation
@@ -84,15 +84,15 @@ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
8484
sudo apt-get update
8585
sudo apt-get install aptitude -y
8686
sudo aptitude install -y build-essential git cmake
87-
git clone -b master --single-branch https://github.com/turtlecoin/turtlecoin-crypto
88-
cd turtlecoin-crypto
87+
git clone -b master --single-branch https://github.com/turtlecoin/wrkzcoin-crypto
88+
cd wrkzcoin-crypto
8989
mkdir build
9090
cd build
9191
cmake ..
9292
make -j
9393
```
9494

95-
The static library will be built as `libturtlecoin-crypto.a` in the build folder.
95+
The static library will be built as `libwrkzcoin-crypto.a` in the build folder.
9696

9797
##### Ubuntu, using Clang
9898

@@ -119,8 +119,8 @@ sudo aptitude install -y -o Aptitude::ProblemResolver::SolutionCost='100*cancele
119119
sudo aptitude install build-essential clang-6.0 libstdc++-7-dev git cmake
120120
export CC=clang-6.0
121121
export CXX=clang++-6.0
122-
git clone -b master --single-branch https://github.com/turtlecoin/turtlecoin-crypto
123-
cd turtlecoin-crypto
122+
git clone -b master --single-branch https://github.com/turtlecoin/wrkzcoin-crypto
123+
cd wrkzcoin-crypto
124124
mkdir build
125125
cd build
126126
cmake ..
@@ -129,7 +129,7 @@ make -j
129129

130130
The following library files will be created in the `build` folder:
131131

132-
* `libturtlecoin-crypto-static.a`
132+
* `libwrkzcoin-crypto-static.a`
133133

134134
##### Generic Linux
135135

@@ -139,8 +139,8 @@ If you want to use clang, ensure you set the environment variables `CC` and `CXX
139139
See the ubuntu instructions for an example.
140140

141141
```bash
142-
git clone -b master --single-branch https://github.com/turtlecoin/turtlecoin-crypto
143-
cd turtlecoin-crypto
142+
git clone -b master --single-branch https://github.com/turtlecoin/wrkzcoin-crypto
143+
cd wrkzcoin-crypto
144144
mkdir build
145145
cd build
146146
cmake ..
@@ -149,7 +149,7 @@ make -j
149149

150150
The following library files will be created in the `build` folder:
151151

152-
* `libturtlecoin-crypto-static.a`
152+
* `libwrkzcoin-crypto-static.a`
153153

154154
#### OSX/Apple, using Clang
155155

@@ -164,8 +164,8 @@ which brew || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/H
164164
brew install --force cmake boost llvm
165165
export CC=/usr/local/opt/llvm/bin/clang
166166
export CXX=/usr/local/opt/llvm/bin/clang++
167-
git clone -b master --single-branch https://github.com/turtlecoin/turtlecoin-crypto
168-
cd turtlecoin-crypto
167+
git clone -b master --single-branch https://github.com/turtlecoin/wrkzcoin-crypto
168+
cd wrkzcoin-crypto
169169
mkdir build
170170
cd build
171171
cmake ..
@@ -174,7 +174,7 @@ make
174174

175175
The following library files will be created in the `build` folder:
176176

177-
* `libturtlecoin-crypto-static.a`
177+
* `libwrkzcoin-crypto-static.a`
178178

179179
#### Windows
180180

@@ -187,7 +187,7 @@ The following library files will be created in the `build` folder:
187187

188188
- From the start menu, open 'x64 Native Tools Command Prompt for vs2017'.
189189
```
190-
cd <your_turtlecoin-crypto_directory>
190+
cd <your_wrkzcoin-crypto_directory>
191191
mkdir build
192192
cd build
193193
set PATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin";%PATH%
@@ -196,13 +196,13 @@ cmake -G "Visual Studio 15 2017 Win64" ..
196196

197197
**Note:** If you have errors on this step about not being able to find the some libraries, you may need to update your cmake. Open 'Visual Studio Installer' and click 'Update'.
198198

199-
`MSBuild turtlecoin-crypto.sln /p:Configuration=Release /m`
199+
`MSBuild wrkzcoin-crypto.sln /p:Configuration=Release /m`
200200

201201
The following library files will be created in the `build/Release` folder:
202202

203-
* `turtlecoin-crypto-static.lib`
204-
* `turtlecoin-crypto-shared.lib`
205-
* `turtlecoin-crypto-shared.dll`
203+
* `wrkzcoin-crypto-static.lib`
204+
* `wrkzcoin-crypto-shared.lib`
205+
* `wrkzcoin-crypto-shared.dll`
206206

207207
## Native Javascript & WASM
208208

@@ -215,8 +215,8 @@ You will need the following packages:
215215
### Compiling
216216

217217
```bash
218-
git clone -b master --single-branch https://github.com/turtlecoin/turtlecoin-crypto
219-
cd turtlecoin-crypto
218+
git clone -b master --single-branch https://github.com/turtlecoin/wrkzcoin-crypto
219+
cd wrkzcoin-crypto
220220
source ./build_js.sh
221221
```
222222

@@ -225,9 +225,9 @@ This script will install the necessary dependencies on your machine and then pro
225225
The following library files will be created in the `jsbuild` folder:
226226

227227
* Native Javascript
228-
* `turtlecoin-crypto.js`
228+
* `wrkzcoin-crypto.js`
229229
* WASM
230-
* `turtlecoin-crypto-wasm.js`
230+
* `wrkzcoin-crypto-wasm.js`
231231

232232
## Thanks
233233
Cryptonote Developers, Bytecoin Developers, Monero Developers, Forknote Project, TurtleCoin Community
@@ -239,7 +239,8 @@ Hi TurtleCoin contributor, thanks for forking and sending back Pull Requests. Ex
239239
```
240240
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
241241
// Copyright (c) 2014-2018, The Monero Project
242-
// Copyright (c) 2018-2019, The TurtleCoin Developers
242+
// Copyright (c) 2018-2019, The TurtleCoin Developers
243+
// Copyright (c) 2026, The WrkzCoin Developers
243244
//
244245
// Please see the included LICENSE file for more information.
245246
```

‎binding.gyp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"targets": [
77
{
8-
"target_name": "turtlecoin-crypto",
8+
"target_name": "wrkzcoin-crypto",
99
"defines": [
1010
"NDEBUG",
1111
"NO_CRYPTO_EXPORTS",
@@ -108,8 +108,8 @@
108108
"external/ed25519/sc_sub.c",
109109
"external/ed25519/signum.c",
110110
"external/ed25519/slide.c",
111-
"src/turtlecoin-crypto.cpp",
112-
"src/turtlecoin-crypto-node.cpp"
111+
"src/wrkzcoin-crypto.cpp",
112+
"src/wrkzcoin-crypto-node.cpp"
113113
],
114114
"cflags!": [
115115
"-std=c11",

‎build_js.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ patch -N --verbose emsdk/fastcomp/emscripten/src/shell.js scripts/emscripten.pat
2121

2222
mkdir -p jsbuild && cd jsbuild && rm -rf *
2323
emconfigure cmake .. -DNO_AES=1 -DARCH=default -DBUILD_WASM=1 -DBUILD_JS=0
24-
make && cp turtlecoin-crypto-wasm.js ../dist
24+
make && cp wrkzcoin-crypto-wasm.js ../dist
2525
emconfigure cmake .. -DNO_AES=1 -DARCH=default -DBUILD_WASM=0 -DBUILD_JS=1
26-
make && cp turtlecoin-crypto.js ../dist
26+
make && cp wrkzcoin-crypto.js ../dist

0 commit comments

Comments
 (0)