forked from axiom-team/astroport
.. | ||
jaklis | ||
pkg | ||
tools | ||
cesium_INIT.sh | ||
cron_VRFY.sh | ||
g1_MONITOR_zen.sh | ||
gchange_INIT.sh | ||
gchange_IPFS_swarm.sh | ||
gchange_MONITOR.sh | ||
ipfs_EMPTY.sh | ||
ipfs_OPEN_ports.sh | ||
ipfs_SWARM_refresh.sh | ||
ipfs_TASK_do.sh | ||
ipns_TAG_refresh.sh | ||
miam_miam.sh | ||
no_SPAM.sh | ||
park4night_MONITOR.sh | ||
port_ipfsp2p_g1sms_all.sh | ||
port_SSH_one2one.sh | ||
README.md | ||
ssb_GET_zenyta.sh | ||
ssb_GET_zenytv.sh | ||
ssb_INIT.sh | ||
ssb_IPFS_swarm.sh | ||
ssb_SURVEY_contact.sh | ||
ssb_SURVEY_swarmkey.sh | ||
xbian_vstream.sh | ||
zen_MAKE.sh | ||
zen_OP.sh | ||
zen_PASSENGER_READ.sh |
INSIDE ZEN REACTOR
~/.zen # Astroport Metaverse Files
~/.zen/astroport # CODE
~/.zen/secret.astroport.key # MULTI UNIVERSE KEY
~/.zen/cache/g1_TX_inputs/ # G1 Wallet INPUT Tx cache
~/.zen/cache/ssb_contact # Data from ./ssb_SURVEY_contact.sh
~/.zen/tag/ # CONTAINS "ZenTAG counters"
la ~/.zen/tag/9c6354a1db832e51ea0acd9342822dc49ba42c7035e830a2d59fcf4f86a13821/
_chain _g1.node.creator _ipns _passenger.ipfs.crypt _QRCODE.write.png _tag.zen
_chain.n _ipfs.node.creator _passenger.contract.sh _passenger.park _tag.BB.sha _tag.zensource
_chain.nanodate _ipfs.publishkey.BB.aes _passenger.filename _passenger.read _tag.issuer
_chain.prev _ipfs.publishkey.crypt _passenger.ipfs.BB.aes _QRCODE.read.png _tag.uid
~/.zen/miam/ # youtube-dl Stomac
# IPFS Shared Data Frameworks
~/.zen/ipfs
~/.zen/ipfs_swarm
# Each "G1SSBIPFS" Node publish ID and DATA indexes
~/.zen/ipfs_swarm/.12D3KooW***/
# Other Swarm Node access with "ipfs ls /ipns/Qm***/.12D3KooW***"
~/.zen/ipfs_swarm/.12D3KooW*** sub directory is used for exchanging messages between peers
cron_MINUTE.sh monitor all LOCAL channels populated/monitored through to ~/.zen/ipfs_swarm
IMPORTANT TODO!!
- timeout.sh CPU problem happen once
MOVE swarm.key
mv ~/.ipfs/swarm.key ~/.ipfs/swarm.key.old
sudo systemctl restart ipfs
Problem with ~/.ssb/manifest.json
# Restart ssb-server
kill -9 $(ps auxf --sort=+utime | grep -w ssb-daemon| grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}');
kill -9 $(ps auxf --sort=+utime | grep -w ssb-server| grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}');
kill -9 $(ps auxf --sort=+utime | grep -w oasis | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}')
printf '{"manifest":"sync"}' > ~/.ssb/manifest.json
ssb-server start &
sbotc -t async manifest > ~/.ssb/manifest.json
New SSB message type
# ssb_INIT.sh
~/.zen/ipfs/.$ipfsnodeid/G1SSB/_ssb.whoami
~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.pubkey
~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.qrcode.png
~/.zen/ipfs/.${ipfsnodeid}/Addresses
~/.zen/ipfs/.${ipfsnodeid}/AgentVersion
~/.zen/ipfs/.${ipfsnodeid}/repo.stat
~/.zen/ipfs/.${ipfsnodeid}/tryme.addr
IPFS FILESYSTEM STRUCTURE
# ssb_INIT.sh
~/.zen/ipfs/.$ipfsnodeid/G1SSB/_ssb.whoami
~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.pubkey
~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.qrcode.png
~/.zen/ipfs/.${ipfsnodeid}/Addresses
~/.zen/ipfs/.${ipfsnodeid}/AgentVersion
~/.zen/ipfs/.${ipfsnodeid}/repo.stat
~/.zen/ipfs/.${ipfsnodeid}/tryme.addr
# zen_MAKE.sh
~/.zen/ipfs/.$ipfsnodeid/TAG/${J}
~/.zen/ipfs/.$ipfsnodeid/TAG/${J}/_tag.uid
~/.zen/ipfs/.$ipfsnodeid/TAG/${J}/_tag.passenger.filename
~/.zen/ipfs/.$ipfsnodeid/TAG/${J}/_tag.passenger.metadata.json
~/.zen/ipfs/.$ipfsnodeid/TAG/${J}/_tag.passenger.fulltitle
# ssb_SURVEY_contact.sh
~/.zen/ipfs/.${ipfsnodeid}/CONTACT/${g1author}
~/.zen/ipfs/.${ipfsnodeid}/CONTACT/${g1author}/ipfs_swarm.key.crypt
~/.zen/ipfs/.${ipfsnodeid}/Addresses
~/.zen/ipfs/.${ipfsnodeid}/AgentVersion
~/.zen/ipfs/.${ipfsnodeid}/repo.stat
~/.zen/ipfs/.${ipfsnodeid}/CHAN/sha256(id@channel)
# ipfs_SWARM_refresh.sh
IPFS CHANNELS ARE SYNC FROM LOCAL NODE
LOCAL:
~/.zen/ipfs/channels/channel_id/_uid
IPFS SWARM :
~/.zen/ipfs/sha256(id@channel)/_uid
~/.zen/ipfs/sha256(+33647683646@SMS_+33667676767)/_uid
natools CRYPT/DECRYPT a FILE
g1pub=$(cat ~/.ssb/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
~/.zen/astroport/zen/tools/natools.py encrypt -p $g1pub -i file -o file.crypt
~/.zen/astroport/zen/tools/natools.py decrypt -f pubsec -k ~/.ssb/secret.dunikey -i file.crypt -o file