SFTFinance - Let your minecraft financial system be depolyed on blockchain.
Github: https://github.com/Minecraft652/SFTFinance
What is SFTFinance ?
SFTFinance Is a minecraft server plug-in based on Bukkit/Spigot
Its features provide players and administrators with operations on the EVM-Compatible blockchain and smart contracts
Tokens that allow interaction between original tokens and ERC20 standard tokens smart contracts.(Like Ether,USDT)
SFTFinance End User License Agreement
Copyright (c) Github:Minecraft652. All rights reserved. https://github.com/Minecraft652
Permission is hereby granted, Only free to provide the right to use and copy the software and relevant documents to anyone. It does not include any rights to modify, merge, distribute, sublicense and/or sell copies of the Software or other special rights. If you require additional rights, please contact the author for permission.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
To use SFTFinance you should know.
- The player wallet data of this software is the user's personal privacy data.
- Using this software, all operations are caused by personal, such as asset loss the author does not assume any responsibility.
- Investment is risky and operation should be cautious. Please comply with local laws and regulations when using this software.
- The author reserves all rights of this software. Please read the license agreement. If you continue to use the software, it will be assumed that you have agreed.
Features
- Connect your server to EVM-compatible blockchain (Ethereum Mainnet, Binance Smart Chain) and other test chains.
- Let players have their own digital wallets and transfer money to each other.
- Provide basic ways to interact with ERC20 token smart contracts such as USDT, DAI and any ERC20 token based standard contracts.
- Administrators can customize transaction pairs that allow players to interact with the server and execute them on the blockchain.
Support
- Support PlaceHolderAPI.
- Support MySQL Database , SQLite.
- Support custom ERC20 token contracts.
- Support EVM compatible blockchain and custom BLOCKCHAIN HTTP address.
- Support All Ethereum-based wallet. and player can import their own wallet.
- Supports administrators to customize transaction pairs.
- Supports player can using game items trade tokens each other.
- Supports generating digital wallets and exporting them to other wallets.
- Supports multiple token contracts and trading pairs.
- Supports legacy minecraft version like 1.8.
Installation
- Delete your old SFTFinance plugin configs and language file. help file...
- Put the plugin into the server side's plugins folder
- If the server is started, files such as config.yml are automatically generated
- Plugin can only be configured when the server is disabled
- After the configuration is complete, it can be used normally.
PlaceHolders
- To enable placeholders, You need enable this first in config.yml, EnablePlaceHolderAPI: true
- And PlaceHolderAPI plugin. You can find it at Github, SpigotMC...
- In here "COINSYMBOL" is your variable of tokens.
- %sftfinance_address% - Your current wallet address.
- %sftfinance"COINSYMBOL"balance% - Your currect token balance. example: %sftfinanceBNBbalance% is your BNB balance...
Command
- /wallet - View your wallet address, balance.
- /wallet help - See the SFTFinance command help.
- /wallet help (page) - See the SFTFinance command help.
- /wallet version - View the current plugin version.
- /wallet blockchain - View details of the currently connected blockchain.
- /wallet keys - View your wallet mnemonics, keys, etc.
- /wallet create - Create a wallet (if you don't have one).
- /wallet gas - View default Gas limits, prices, etc.
- /wallet delete - Delete the current wallet.
- /wallet player (name) - View the specified player's wallet address, balance.
- /wallet import (privatekey) - import your private key into SFTFinance.
- /wallet exchange - View the currently active deals.
- /wallet exchange (transaction pair) - Transactions with the server. (The administrator needs to configure the transaction pair.)
- /wallet trade (PlayerID) (TokenType) (amount) - Send transaction to target player. Need enable playerCanTradeEachOther in config.yml.
- /wallet trade list - List your all transactions.
- /wallet trade edit (trade id) - Edit this transaction. only the sender or already accepted transactions, take it all will delete this transaction or modify.
- /wallet trade accept (trade id) - Accept this transaction. only the receiver. and receiver will pay for this.
- /wallet trade deny (trade id) - Deny this transaction. next need sender to use /wallet trade edit (TradeID) take their items.
- /wallet trade info (trade id) - View the transaction info.
- /wallet exchange (transaction pair) info - View this deal details.
- /wallet transfer (name) (address) (amount) - Sends the specified token to the destination address.
- /wallet transfer (name) (address) (amount) (gasprice) - Sends tokens to target addresses for specified gas prices.
- /wallet transfer (name) (address) (amount) (gasprice) (gaslimit) - Sends tokens to target addresses specifying gas prices and gas limits.
- /wallet approve (TokenType) (TargetAddress) (amount) - Access target address to approve your ERC20 token, please see info Solidity-Approve method.
- /wallet approve (TokenType) (TargetAddress) (amount) (gasprice) - Access target address to approve your ERC20 token for specified gas price.
- /wallet approve (TokenType) (TargetAddress) (amount) (gasprice) (gaslimit) - Access target address to approve your ERC20 token for specified gas price and gas limit.
- /wallet transferfrom (TokenType) (FromAddress) (TargetAddress) (amount) - Solidity-Transferfrom method.
- /wallet transferfrom (TokenType) (FromAddress) (TargetAddress) (amount) (gasprice) - Solidity-Transferfrom method.
- /wallet transferfrom (TokenType) (FromAddress) (TargetAddress) (amount) (gasprice) (gaslimit) - Solidity-Transferfrom method.
Configuration
View main configuration files and configuration help
View transaction pairs configuration files and configuration help
View the ERC20 token contract configuration file and configuration help
Environment
This software has no absolute version limits and is developed using the newest Spigot API.
Here is the development environment (native support environment) in which this plug-in was tested
If there are bugs and other problems, please put forward to me in Issues.
In addition to the following environment, other versions of the bug problem, please contact me for assistance.
Java version :
- Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
- Java(TM) SE Runtime Environment (build 1.8.0_331-b09)
- Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Server version :
- CraftBukkit version 3470-Spigot-ffceeae-1092219 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
- CraftBukkit version 3096-Spigot-9fb885e-296df56 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
- CraftBukkit version git-Spigot-21fe707-741a1bd (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
Operating system :
- Microsoft Windows 10 2004
- Microsoft Windows 11 21H2
What the author wants to say to you
- It's my first Java project, if you like my project...
- This is my ethereum address: 0x5b615f1a1989ee2636bfbfe471b1f66bca16f926
- I am Minecraft_652, a programmer who loves learning and is committed to network decentralization.
- Thank you very much for your support! My contact information is as follows:
- QQ : 919899140
- Telegram : https://t.me/SIXFIVETWO
- Twitter : https://twitter.com/Minecraft652
- ENJOY TO USE! :)