This commit is contained in:
aozhiwei 2023-07-04 18:06:09 +08:00
parent 469a146c9d
commit f39b76925a
9 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"host": "login-test.kingsome.cn",
"port": 3306,
"user": "root",
"passwd": "keji178",
"database": "bcevent_dev"
}

View File

@ -0,0 +1,7 @@
{
"host": "login-test.kingsome.cn",
"port": 3306,
"user": "root",
"passwd": "keji178",
"database": "bcnft_dev"
}

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1 @@
../../../../../../../third_party/becrypto/build/contracts

View File

@ -0,0 +1,69 @@
[
{
"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"
},
{
"name": "Gacha",
"type": "erc721",
"json": "assets/contracts/BEBadge.json",
"address": "0xE4546FA6DdC15442a1FED835e7A007b001213495"
},
{
"name": "ClaimGachaFactory",
"type": "logic",
"json": "assets/contracts/ClaimBoxFactory.json",
"address": "0x41a7f94f0B3b615F84c7084F45556FEf1bd18A18"
}
]

View File

@ -0,0 +1,5 @@
{
"user_address": "0x50A8e60041A206AcaA5F844a1104896224be6F39",
"private_key": "0xd9ed33809372932059c1ba7b336a33f406b4c55e7430daef8297134c67429d60",
"block_server": "https://arb-goerli.g.alchemy.com/v2/demo"
}

View File

@ -0,0 +1,23 @@
[
{
"instance_id" : 1,
"listen_port": 8682,
"nets": [
{
"net_id": 421613,
"events": [
{
"contract_name": "HERO",
"event_name": "Transfer",
"init_block": 24792980
},
{
"contract_name": "CHIP",
"event_name": "Transfer",
"init_block": 26982576
}
]
}
]
}
]

8
server/bin_dev/web3dbspider/gm Executable file
View 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

View File

@ -0,0 +1,3 @@
#!/bin/bash
node ../../web3dbspider/app.js -n1 -i1