Compiling From Source
1. Setup Godot Engine compilation environment
You can refer to this tutorial to set up your own Godot Engine compilation environment. Trust me, it’s unbelievably simple! Definitely worth a try!
2. Clone our project
git clone https://github.com/qingfengzxr/gdscript-web3.git
3. Copy web3 module
Copy web3 directory into Godot Engine project’s modules directory.
cp -rf ~/gdscript-web3/modules/web3 ~/godot/modules
Note
Don’t forget to replace your own path
4. Install gmp library
ubuntu:
sudo apt install libgmp-dev
Also, it can be installed by source code. Reference: https://gmplib.org/
5. Compile Godot Engine
Linux:
scons platform=linuxbsd
MacOS:
scons platform=osx arch=arm64
Windows:
Note
TODO