- Runebase
- Pirate
- Tokel
##Create .env
#DATABASE
DB_NAME=runebaseGames
DB_USER=newuser
DB_PASS=@123TestDBFo
DB_HOST=localhost
DB_PORT=3306
#OPEN EXHANGE RATES KEY APP KEY()
OPEN_EXCHANGE_RATES_KEY=xx
#Nomics Key
NOMICS_KEY=xx
#SESSION DASHBOARD
SESSION_SECRET="xxx"
#EMAIL
MAIL_HOST=mail.xxx.io
MAIL_PORT=587
[email protected]
MAIL_PASS=xx
#RECAPTCHA
RECAPTCHA_SITE_KEY=xx
RECAPTCHA_SECRET_KEY=xx
#ROOT_URL
ROOT_URL=localhost
# COIN NODES
## RUNEBASE
RUNEBASE_RPC_USER=xx
RUNEBASE_RPC_PASS=xx
RUNEBASE_RPC_PORT=9432
RUNEBASE_CONSOLIDATION_ADDRESS=xx
## PIRATE
PIRATE_RPC_USER=xx
PIRATE_RPC_PASS=xx
PIRATE_RPC_PORT=45453
PIRATE_CONSOLIDATION_ADDRESS=xx
## TOKEL
TOKEL_RPC_USER=xx
TOKEL_RPC_PASS=xx
TOKEL_RPC_PORT=29405
TOKEL_CONSOLIDATION_ADDRESS=xx
## STELLAR
STELLAR_PUBLIC=xx
STELLAR_SECRET=xx
## Secret Network
### CHAIND - pulsar-2 (testnet) - secret-4 (mainnet)
SECRET_WS_URL=wss://rpc.pulsar.scrttestnet.com/websocket
SECRET_GRPC_WEB_URL=https://grpc.testnet.secretsaturn.net
SECRET_CHAINID=pulsar-2
SECRET_MNEMONIC=xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
SECRET_ADDRESS=xx
CREATE DATABASE multiCurrency;
GRANT ALL ON multiCurrency.* TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
run migrations
npx sequelize-cli db:migrate
generate a new empty migration file
npx sequelize-cli migration:generate --name Sleet-table
undo single migration
npx sequelize-cli db:migrate:undo --name 20220525155707-add_withdrawalFee_table.js
undo migration
npx sequelize-cli db:migrate:undo
deploy seeds
npx sequelize-cli db:seed:all
deploy single seed
npx sequelize-cli db:seed --seed 20220901171424-add_default_usd_currency.js
generte empty seed file
npx sequelize-cli seed:generate --name demo-jackpot
revert seed file
npx sequelize db:seed:undo --seed 20220901171424-add_default_usd_currency.js
daemon=1
rpcuser=runebaseinfo
rpcpassword=runebaseinfo
blocknotify=curl --header "Content-Type: application/json" --request POST --data "{ \"payload\" : \"%s\", \"ticker\" : \"RUNES\"}" http://127.0.0.1:8080/api/rpc/blocknotify
walletnotify=curl --header "Content-Type: application/json" --request POST --data "{ \"payload\" : \"%s\", \"ticker\" : \"RUNES\"}" http://127.0.0.1:8080/api/rpc/walletnotify
server=1
txindex=1
logevents=1
zmqpubrawblock=tcp://127.0.0.1:29000
zmqpubrawtx=tcp://127.0.0.1:29000
zmqpubhashtx=tcp://127.0.0.1:29000
zmqpubhashblock=tcp://127.0.0.1:29000
rpcworkqueue=128
rpcuser=xx
rpcpassword=xx
rpcport=45453
server=1
txindex=1
rpcworkqueue=256
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
blocknotify=curl --header "Content-Type: application/json" --request POST --data "{ \"payload\" : \"%s\", \"ticker\" : \"ARRR\"}" http://127.0.0.1:8080/api/rpc/blocknotify
walletnotify=curl --header "Content-Type: application/json" --request POST --data "{ \"payload\" : \"%s\", \"ticker\" : \"ARRR\"}" http://127.0.0.1:8080/api/rpc/walletnotify
daemon=1
consolidation=1
consolidationtxfee=10000
consolidationsaplingaddress=xx
sweep=1
sweeptxfee=10000
sweepsaplingaddress=xx
deletetx=1
deleteinterval=10000
rpcuser=xx
rpcpassword=xx
rpcport=29405
server=1
txindex=1
rpcworkqueue=256
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
blocknotify=curl --header "Content-Type: application/json" --request POST --data "{ \"payload\" : \"%s\", \"ticker\" : \"TKL\"}" http://127.0.0.1:8080/api/rpc/blocknotify
walletnotify=curl --header "Content-Type: application/json" --request POST --data "{ \"payload\" : \"%s\", \"ticker\" : \"TKL\"}" http://127.0.0.1:8080/api/rpc/walletnotify
daemon=1
https://choosealicense.com/no-permission/
If you want host this tipbot yourself, you must ask the developer for permission.
If you want the developer to host this tipbot for your project and have your project integrated, you can apply in the appropriate channel on discord
join the discord: https://discord.gg/CdUSaVfp8Q