Add smart gate contract to allow only tribe members to jump

This commit is contained in:
Andrey Fadeev 2025-07-09 17:26:17 +02:00
commit 65582d2c11
No known key found for this signature in database
GPG key ID: 66307964C88A4422
11 changed files with 4096 additions and 0 deletions

19
README.md Normal file
View file

@ -0,0 +1,19 @@
# Smart Gate configuration for EVE Frontier
This repository contains a smart contract for EVE Frontier.
It allows only the owner's tribe members to use the gate.
## Usage
You need to have an account in EVE Frontier to use these tools.
Install `pnpm` and `foundry`. Look at [EVE Frontier documentation](https://docs.evefrontier.com/Tools) for more details.
Run `pnpm install` to install dependencies.
Copy the `.env.example` file to `.env` and change the MUD_NAMESPACE and PRIVATE_KEY fields.
Run `pnpm run deploy` to deploy the contract.
You may check on the [EVE Datacore] that your namespace was created successfully and contains the `TribeGateSystem` in the systems list.
Open Smart Gate in the game, copy the ID, and run `pnpm run configure <ID>`.