This guide will help you set up the LasMeta gLASM smart contract development environment for the world's first AI-enhanced social VR poker gaming metaverse.
LasMeta offers players the chance to play for free and earn rewards through a performance metric-based system. Unlike traditional gambling platforms, LasMeta involves no fiat currency and no financial losses. Visit us at:
- Website: https://lasmeta.io
- Portal: https://portal.lasmeta.io
Developed by Bloklab Oy (Helsinki, Finland) EUID: FI32999875 Best Blockchain Startup Europe 2024 by Hackernoon
- Node.js (v14.x or later)
- npm (v6.x or later)
- Git
- Clone the repository:
git clone https://github.com/lasmetaio/gLASM.git
cd gLASM
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env
Then edit .env
with your actual values:
- Add your RPC URLs for different networks
- Add your private key (without 0x prefix)
- Add your Etherscan API key
- Add your CoinMarketCap API key (optional, for gas reporting)
Compile the smart contracts:
npm run compile
Run the test suite:
npm test
For test coverage:
npm run coverage
- Local deployment:
npm run deploy:local
- Testnet deployment (Sepolia):
npm run deploy:sepolia
- Mainnet deployment:
npm run deploy:mainnet
After deployment, verify your contract on Etherscan:
npx hardhat verify --network <network> <deployed-contract-address>
- Start local Hardhat node:
npx hardhat node
- Run tests in watch mode:
npx hardhat test --watch
For integration with the LasMeta portal (https://portal.lasmeta.io), ensure you have:
- Proper API access
- Required authentication tokens
- Correct network configuration
If you encounter any issues:
- Make sure all environment variables are properly set
- Try deleting the
cache
andartifacts
folders and recompiling - Ensure you're using the correct Node.js version
- Check that all dependencies are properly installed
Remember to never commit your .env
file or expose your private keys.
For additional support:
- Visit our website: https://lasmeta.io
- Open an issue in the GitHub repository
- Contact our development team at Bloklab Oy
- Address: Itäkatu 1-5 3rd and 4th Floor, Helsinki, Finland