Smartcontracts for https://seascape.network/ – a platform for games. It's developed by truffle framework. For more in-depth explanation, please visit https://docs.seascape.network/
- Crowns: 0xac0104cca91d167873b8601d2e71eb3d4d8c33e0
- Seascape Nft: 0x828e2cb8d03b52d408895e0844a6268c4c7ef3ad
- Nft Factory: 0x25F4C38FAF75dF9622FECB17Fa830278cd732091
- Profit Circus (First game): 0xbcf39f0edda668c58371e519af37ca705f2bfcbd
- Profit Circus V2 (First Game): 0xa35abb86c53695bb1b23b55808b6c5871432c22c
- Nft Brawl (Second game): 0xe5bD525aaF599B75362d5b1c78ECCc47266adE47
- Nft Staking (Third game): 0x29b0d9A9A989e4651488D0002ebf79199cE1b7C1
- Scape Forum (4th game): 0x031F40ed49047dAfF336aC54372816fE5e724A72
- Crowns: 0xbcf39F0EDDa668C58371E519AF37CA705f2bFcbd
- Seascape Nft: 0xc54b96b04AA8828b63Cf250408E1084E9F6Ac6c8
- Nft Factory: 0xa304D289f6d0a30aEB33e9243f47Efa3a9ad437d
- Profit Circus (First game): 0x82b6ed562f202E76A5bDBB209e077f4a96bD5605
- Profit Circus V2 (First Game): 0xCE188BF49Ee072847c95414518EB56C5eB6F0e3B
- Nft Brawl (Second game): 0xDb8B1BD9A47443f7e97CCcF985F0254b191A84eF
- Nft Staking (Third game): 0x29b0d9A9A989e4651488D0002ebf79199cE1b7C1
- Scape Forum (4th game): 0x31A5bD03f0583a7F720a6C1b595ec8b052871288
- Crowns: 0x168840Df293413A930d3D40baB6e1Cd8F406719D
- Seascape Nft: 0x7115ABcCa5f0702E177f172C1c14b3F686d6A63a
- Factory: 0xF06CF016b6DAdED5f676EE6340fc7398CA2142b0
- Profit Circus ( First game): 0x9f5FdC047e1C53D7255a0069071127A3769a2D48
- Nft Brawl (Second game): 0x593b76fc9ee7d412599cdb9aa8a87c19e9b665fa
- Staking Saloon (Third game): 0xd7512C46b665bd1c9E12D437dd9423F859db515A
- Nft Market: 0x9CB160C1b80C2915b3833Bf71b7913FC785150dB
- Scape Forum (Fourth game): 0x3Cd60dEc3F8623B61537A8A681850c776709Ac5A
- Zombie Farm (Fifth game): 0xf231e63701AF8a325bC041b5aB79c94B06c21e4D
- ScapeNft Reward (Zombie Farm): 0x3B1c875bE0431C49BEdD440f99aD29Ef1225230D
- SingleToken Challenge (Zombie Farm): 0x234fDF5E571f1fFcCf691F65F8E4D80b110b1aF3
- LpToken Challenge (Zombie Farm): 0xaE716E37d4784A24Bdd41ad1320e9fa56f0125C7
- Crowns: 0x4Ca0ACab9f6B9C084d216F40963c070Eef95033B
- Seascape Nft: 0x66638F4970C2ae63773946906922c07a583b6069
- Factory: 0x3eB88c3F2A719369320D731FbaE062b0f82F22e4
- Profit Circus ( First game): 0x93A782FD81444dC3fE2EFB529Dd7a6FB9eef7190
- Nft Brawl (Second game): 0xb981EF362416f18477bca004f32920656a5b0F2F
- Staking Saloon (Third game): 0x7D4CE5d7713d9f4FEA4d4A88ed8B930bB43954d5
- Nft Market: 0x5d62706C6EB9606eB5fC3a9c03dF5b3D8d5f854f
- Scape Forum (Fourth game): 0x6Bb4FF81aAaF62144d2113c45df07f11Ff2c3dBD
- Crowns: 0x7F8F2A4Ae259B3655539a58636f35DAD0A1D9989
- Seascape Nft: 0xBD29CE50f23e9dcFCfc7c85e3BC0231ab68cbC37
- Factory: 0xa6c50A865bCC3A3353bFA4B03Bd42C85D4446cD2
- Profit Circus ( First game): 0xDD3ccd9936E2D94B90776fEb9A0cEacAe61A8E73
- Nft Rush (Second game): 0x548b3589766AB56f2910A76bcFe1421Fe387F528
- Nft Staking (Third game): 0x18B496578793B0bA4502612b4A2E874Fb9213337
- Nft Market: Coming soon...
The Crowns, Seascape NFT and Profit Circus were audited by Certik.
The details of all contract audits can be seen at Certik Security Leaderboard - Seascape
- crowns - an ERC-20 token used as a in-game token of Blocklords. Strategy game on ethereum at https://blocklords.io
Pull this repository into your machine.
Inside the folder, fetch the git submodules, Crowns (CWS) is fetched as a submodule, and other smartcontracts depends on Crowns:
git submodule update --init --recursive
Then, we need to setup truffle as a global module:
npm install -g truffle
Then, we need to update the local dependencies:
npm install
Ccompile the contracts to generate ABI interfaces of smartcontracts, to use in the scripts:
truffle compile
Finally, edit the truffle-config.js by setting up your network credentials including your Private Key and RPC node endpoint.
Done, check the tests, migrations and scripts. Edit them to set correct smartcontract address before using them. Especially, if you want to interact with already deployed smartcontracts.
-
contracts/seascape_nft/SeascapeNft.sol
– Based on openzeppelin ERC721 library. This NFT is burnable, owns metadata, mintable. However minting option are available through another smartcontract - Nft Factory. Seascape NFT also stores additional properties used in Seascape Network. -
contracts/seascape_nft/NftFactory.sol
– Minting Seascape NFTs. It is using Role permission feature to mint different kind of NFTs. -
contracts/seascape_nft/NftTypes.sol
– library used in another smartcontracts. It has a quality property of NFTs. Quality is one of the additional data used in Seascape Network. -
contracts/game_1/LpMining.sol
– The goal of the game is to stake uniswap (https://uniswap.org) LP tokens for CWS reward. Staking formula is in the Smartcontract. Also Staking period is going during the Game Session. Optionally: Each player can mint one nft in every game session. -
contracts/game_2/NftRush.sol
– The goal of the game is to spend CWS token to mint Seascape NFTs. More you spend, the higher the quality of the minted Seascape NFT. This game also has a leaderboard. The top ten winners of leaderboard can claim addional tokens. -
contracts/game_3/NftStaking.sol
– The goal of the game is to stake Seascape NFT for CWS reward. When claiming the CWS reward, NFT will be burnt.