NavisWar is a GameFi Play and Earn board battleship strategy game where users engage in thrilling naval battles using Navis NFT ships.
The Free-to-Play (FTP) mode is accessible to everyone upon the initial launch of the NavisWar game. This mode allows new users to dive into the game without any initial investment.
- Minting Base NFTs:
When new users join, six (6) base NFTs will be minted for them.- These NFTs are soulbound and valueless.
- Users cannot buy, sell, or burn the six base NFTs.
- The free NFTs are implemented as ERC1155 tokens, ensuring they remain consistent and identical for all players.
The Play-and-Earn mode offers an enhanced gaming experience where users can earn rewards through strategic gameplay.
-
Premium NFTs:
To qualify for earning rewards, users must purchase premium NFTs.- These NFTs come with special abilities that set them apart from the free ships.
- Flexibility:
The special abilities of these NFTs are managed by the app backend rather than being hard-coded into the smart contracts, allowing for dynamic updates and flexibility.
-
Token Transactions:
- Users purchase premium NFTs using the Navix token.
- Engaging in battles with premium NFTs earns users the in-game token Marin.
- Marin Token:
- Marin can be exchanged for Navix, creating a robust in-game economy.
NavisWar utilizes two types of NFTs to enhance the gaming experience:
-
Base NFTs (ERC1155):
- Quantity: 6 per user.
- Characteristics:
- Soulbound
- Valueless
- Non-transferable
- Identical for all players
-
Premium NFTs (ERC721):
- Purchase: Requires Navix tokens.
- Characteristics:
- Unique abilities
- Transferable
- Tradable on the marketplace
-
Navix Token:
- Purpose: Used to purchase premium NFTs and participate in the in-game economy.
-
Marin Token:
- Earning: Earned by battling with premium NFTs.
- Utility: Can be exchanged for Navix tokens, incentivizing active participation and gameplay.
The following smart contracts are slated for auditing to ensure security, efficiency, and compliance:
///////////////////////////////////////////////////////////////////////////////////
Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
Foundry consists of:
- Forge: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- Cast: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- Anvil: Local Ethereum node, akin to Ganache, Hardhat Network.
- Chisel: Fast, utilitarian, and verbose solidity REPL.
$ forge build$ forge test$ forge fmt$ forge snapshot$ anvil$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>$ cast <subcommand>$ forge --help
$ anvil --help
$ cast --help