1
This commit is contained in:
parent
e1caaf5f35
commit
2c31ab7576
7
server/bin_dev/web3service/config/marketdb_mysql.json
Normal file
7
server/bin_dev/web3service/config/marketdb_mysql.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"host": "127.0.0.1",
|
||||||
|
"port": 3306,
|
||||||
|
"user": "root",
|
||||||
|
"passwd": "keji178",
|
||||||
|
"database": "marketdb2006_dev"
|
||||||
|
}
|
56
server/bin_dev/web3service/config/nets/421613/contract.json
Normal file
56
server/bin_dev/web3service/config/nets/421613/contract.json
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "CEC",
|
||||||
|
"type": "erc20",
|
||||||
|
"json": "assets/contracts/FT.json",
|
||||||
|
"address": "0x8dd1439E0C3254b4543d6D68b3C0C891E5Bd2eCE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CEG",
|
||||||
|
"type": "erc20",
|
||||||
|
"json": "assets/contracts/FT.json",
|
||||||
|
"address": "0x2C7221588D4FBac2585D71618CD540e74c7413B8"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "HERO",
|
||||||
|
"type": "erc721",
|
||||||
|
"json": "assets/contracts/NFT.json",
|
||||||
|
"address": "0xE6A69474E04B93De50dd07F239d62879dB9bF716"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "WEAPON",
|
||||||
|
"type": "erc721",
|
||||||
|
"json": "assets/contracts/NFT.json",
|
||||||
|
"address": "0x8Ce844402bE22fA1276a375Ff2354DD27aDEF285"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CHIP",
|
||||||
|
"type": "erc721",
|
||||||
|
"json": "assets/contracts/NFT.json",
|
||||||
|
"address": "0x4678fE0177B15538F441264cB851364d9F3872AA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BEUSDT",
|
||||||
|
"type": "erc20",
|
||||||
|
"json": "assets/contracts/FT.json",
|
||||||
|
"address": "0xaa34B79A0Ab433eaC900fB3CB9f191F5Cd27501D"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BADGE",
|
||||||
|
"type": "erc721",
|
||||||
|
"json": "assets/contracts/BEBadge.json",
|
||||||
|
"address": "0xB469331cEC98E52b7Eab07dFB586253bE232BBF7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BENftMarket",
|
||||||
|
"type": "logic",
|
||||||
|
"json": "assets/contracts/BENFTMarket.json",
|
||||||
|
"address": "0xb80E19c50747972E735c68C0BA5651AD952d70BC"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "UserMinterFactory",
|
||||||
|
"type": "logic",
|
||||||
|
"json": "assets/contracts/UserMinterFactory.json",
|
||||||
|
"address": "0x1A27515c35a92Fb276c2670fa27C85ffAd75D094"
|
||||||
|
}
|
||||||
|
]
|
5
server/bin_dev/web3service/config/nets/421613/web3.json
Normal file
5
server/bin_dev/web3service/config/nets/421613/web3.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"user_address": "0x50A8e60041A206AcaA5F844a1104896224be6F39",
|
||||||
|
"private_key": "0xd9ed33809372932059c1ba7b336a33f406b4c55e7430daef8297134c67429d60",
|
||||||
|
"block_server": "https://arb-goerli.g.alchemy.com/v2/demo"
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"instance_id" : 1,
|
||||||
|
"listen_port": 7672
|
||||||
|
}
|
||||||
|
]
|
8
server/bin_dev/web3service/gm
Executable file
8
server/bin_dev/web3service/gm
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
read -p '> ' cmd
|
||||||
|
curl "http://127.0.0.1:7671/webapp/index.php?c=GM&a=execCmd&cmd=${cmd}" |jq .
|
||||||
|
echo ""
|
||||||
|
done
|
3
server/bin_dev/web3service/web3service
Executable file
3
server/bin_dev/web3service/web3service
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
node ../../web3service/app.js
|
Loading…
x
Reference in New Issue
Block a user