Skip to content

padheyz/estfor-contracts

 
 

Repository files navigation

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.20 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 beta deployed contract addresses:

WorldLibrary 0x5443085444f881a9aee41d51166ad0aef8af1232
World 0xe2f0b5cb118da85be68de1801d40726ce48009aa
Shop 0xc5e24fbaba1a945226ad2f882e14fc7b44dc1f30
RoyaltyReceiver 0xc5de7625e1b5cb91d92bc65fd4d787f01c43e38e
AdminAccess 0xa298f1636dacab0db352fec84d2079814e0ce778
ItemNFTLibrary 0xa73f74c0fbed265a656293a1a91a9506678e3d54
ItemNFT 0x1dae89b469d15b0ded980007dfdc8e68c363203d
EstforLibrary 0x9bcb040b6ffc0adcedda870f0a8e18e4278c72de
PlayerNFT 0xde70e49756322afdf7714d3aca963abcb4547b8d
Quests 0x96948a6df3a64cc2eb0a1825fccd26f0c93bfce9 Donation 0x9c707b8f1df86e133f8fd603222de12092585eb8

Clans 0xd35410f526db135f09bb8e2bb066c8a63135d812
Bank Beacon 0x73d1b1420deaeb6474b8aafb1d8229d392d1a04e

PlayersLibrary 0xf107841402724f6db176f286833b69c7f54cb8f8
PlayersImplQueueActions 0x26d75cc808805b1c53b709ee87d66231d51c85ec
PlayersImplProcessActions 0x04fd54fe9b927918547b1ccbb1db359d6860bf78
PlayersImplRewards 0x513ad77de7aed8c94d7803cbf09337571f832451
PlayersImplMisc 0xf8cbe0cb6e6e4da90ef3c674c3f48623dfd4fe5b
Players 0x0aac9c0966ad5ea59cd0a47a0d415a68126ab7be

BankRegistry 0xd5da02cee3d9ef0d63d1b79c659df16770c3c4e0
BankProxy 0xe1998e9bad94716ecf81f3a3bead5fed3fb023cb
BankFactory 0x7b8197e7d7352e8910a7af79a9184f50290403da

Other addresses:

BRUSH 0x85dec8c4b2680793661bca91a8f129607571863d

About

Estfor Kingdom game smart contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 69.7%
  • Solidity 30.3%