This update adds scripts and utility functions to interact with the Solantra Coin smart contract.
New features included:
/scripts/deploy.js → Script to deploy the Solantra Coin contract on Solana
/scripts/mint.js → Mint new tokens to a wallet
/scripts/transfer.js → Transfer tokens between wallets
/scripts/balance.js → Check token balance of any wallet
/utils → Helper functions for easier blockchain interaction
Instructions:
- Install Node.js and Solana CLI
- Run
npm install in the project root
- Update
config.js with your wallet key and RPC endpoint
- Execute scripts with
node scripts/<script_name>.js
Notes:
- Scripts are designed for testing on Solana devnet
- Mainnet deployment requires careful auditing
- Future updates will include staking and token reward functions
This update adds scripts and utility functions to interact with the Solantra Coin smart contract.
New features included:
/scripts/deploy.js→ Script to deploy the Solantra Coin contract on Solana/scripts/mint.js→ Mint new tokens to a wallet/scripts/transfer.js→ Transfer tokens between wallets/scripts/balance.js→ Check token balance of any wallet/utils→ Helper functions for easier blockchain interactionInstructions:
npm installin the project rootconfig.jswith your wallet key and RPC endpointnode scripts/<script_name>.jsNotes: