Crypto.com DeFi Desktop Wallet is currently in the beta development phase and subjects to changes. Before proceeding, please be aware of the following:
- Do not transfer any ERC20 tokens to addresses generated by this sample code as it can cause loss of funds.
- DeFi Labs is not liable for any potential damage, loss of data/files arising from the use of the wallet.
Please refer to the release page for the latest released version.
Please abide by the Code of Conduct in all interactions, and the contributing guidelines when submitting code.
Please refer to the Instructions on Multi-Language Content Management for any content updates.
At this moment, the project could only be compiled with node in x64 binary version.
Please check the installed binary version of your node:
node -p process.arch
x64If arm64 is returned, open your favourite Shell in Rosetta
arch -x86_64 /bin/bashReinstall node 14 or 15 under Rosetta. The reinstalled node will be in x64 binary version by default.
yarn installInstalls all the needed dependencies
yarn startThe command above runs the app as a normal web app in development, deployed at http://localhost:3000/
yarn buildBuilds an optimized web distributable output for the repository.
The final output build should be ready to be deployed like any normal react web app. The /build folder is ready to be deployed 🚀
# Use webpack
yarn electron:dev
# Or use Vite(faster)
yarn vite:devRuns the Electron app in the development mode.
The Electron app will reload if you make edits in the electron directory. You will also see any lint errors in the console.
yarn electron:buildBuilds the Electron app package for production to the dist folder.
The app is ready to be distributed!