/estfor-contracts

Estfor Kingdom game smart contracts

Primary LanguageTypeScript

Estfor Kingdom contracts

image

Continuous integration

All the smart contract code for the Estfor Kingdom RPG game on the Fantom Blockchain.

Make sure yarn is installed (or replace with equivalent npm instructions)

These contracts use hardhat and require solidity 0.8.19 at minimum.

Install dependencies:

yarn install

To compile:

yarn compile

To run the tests:

yarn test

To deploy the contracts:

yarn deploy

To verify the contracts on ftmscan:

yarn verifyContracts

To check storage slot packing of the test file:

yarn umlStorage

Fantom mainnet deployed contract addresses:

TODO

Fantom mainnet alpha deployed contract addresses:

World 0xfe93dbf15b733024f67e5a11a7c87401cd951bdc
Shop 0x30e37152cdde1720be35a2ebc8c799809c4acda9
RoyaltyReceiver 0x430fe699f1468d19176d4697c237e4e8712b1822
AdminAccess 0xa4dbcb972927318489afc5f39a5db3d1600f8e0a
ItemNFT 0x5220cbe203cbff2b8257ba231859dcbfdd69da53
PlayerNFT 0x6a92745fbb3c1bad2c6074b53396ab0e7abb8ba9
PlayersLibrary 0xcc17dc0e82072372635602c9ef7db7710ad8b382
PlayersImplQueueActions 0xee111c111368a0362b268f4e27d7e1679d232f3d
PlayersImplProcessActions 0xa02433b3EB5cfeb12BdcD08Ef3F4e3acb0A216Be
PlayersImplRewards 0x7E83C4Db27e3342afea79bDF1195248D635c9571
Players 0xbd0d3fb6123ed252620c696c7d91caeb25c8a0f9

Other addresses:

BRUSH 0x85dec8c4b2680793661bca91a8f129607571863d