Atomicswaps
Atomic Swaps for criptocurrencies
Install / Use
/learn @3s3s/AtomicswapsREADME
Atomic swap client and server in node.js
Step-by-step install instructions:
- Install nvm
For Linux:
[sudo] apt-get update
[sudo] apt-get install build-essential libssl-dev curl -y
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
bash install_nvm.sh
[sudo] reboot
nvm install 16.13.0
For Windows:
You can use terminal in Visual Studio Code https://code.visualstudio.com/download or in c9sdk https://cloud9-sdk.readme.io/docs/running-the-sdk
- Clone repository and install modules (and submodules)
git clone https://github.com/3s3s/atomicswaps.git
cd atomicswaps
git submodule update --init
npm install
npm install -g forever
npm install -g browserify
- Start P2P server
npm run server
Instead of running the server, you can compile the code for browser:
npm run compile
Or you can compile the code for the browser with a source map (for debug)
npm run compile_debug
The atomicswaps/browser directory will contain the code for the browser extension. It is compatible with Firefox and Chrome browsers.
Also you can run server as a background process (daemon)
npm run daemon
To stop the daemon jus type:
npm run daemon_stop
Life version: https://3s3s.github.io/atomicswaps/browser/html/popup.html
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
