Addon for the Godot Engine for integrating with Metamask
https://godotengine.org/asset-library/asset/1189
You can also search for Metamask
in the Godot Asset Library
- Download the latest zip here
- Export it into the root folder of your Godot project
- The zip file only contains the addons directory, so it won't affect anything already in your project
- Clone the source code
https://github.com/nate-trojian/MetamaskAddon.git
- Copy everything in the
addons
folder to theaddons
folder in your Godot project
- In Godot, go to
Project > Project Settings... > Plugins
and find the row with the nameMetamask
- Check the box in the
Status
column toEnable
If you've installed the addon from Github, you will be able to run the test scene located here
All functionality in this addon has a sample implementation in this scene to show how it can be used.
After install the plugin, a Metamask
instance will be available anywhere in your Godot project as an autoloaded singleton.
For more details on how you can use the Metamask instance, see the Usage Doc in the addons folder