You are on page 1of 1

File: ~/etherprivate/commands Page 1 of 1

BLOCKCHAIN
geth --datadir ~/etherprivate/ --allow-insecure-unlock --networkid 7861 --nodiscover --
http --http.api 'web3,eth,net,debug,personal' --http.corsdomain '*' --signer=/home/imran/
etherprivate/clef/clef.ipc

CLEF
clef --configdir /home/imran/etherprivate/clef
clef --chainid 7861 --keystore /home/imran/etherprivate/keystore --configdir /home/imran/
etherprivate/clef --http
imran@Imran:~/etherprivate$ chmod 400 /home/imran/etherprivate/clef/masterseed.json
imran@Imran:~/etherprivate$ clef --chainid 7861 --keystore /home/imran/etherprivate/
keystore --configdir /home/imran/etherprivate/clef --http

CONSOLE
geth attach ~/etherprivate/geth.ipc

Did you mine new blocks after sending the transaction? You need to mine a block with the
transaction for it to be confirmed
eth.sendTransaction({from:'0x21963cce0bedde7706062b2b2128eadb26e33c4a',
to:'0x58e444396f5b4267cb385b3ed75310b38051eb92', value: web3.toWei(0.05, "ether"), gas:
21000});

openssl enc -aes-256-cbc -in message.txt -out message.bin

openssl enc -aes-256-cbc -salt -in /home/imran/input.txt -out input.enc -k


"12345678900987654321"

openssl enc -aes-256-cbc -salt -in /home/blockchainnccs/blockchain-parser/result/


blk00003.txt -out blk00000
openssl enc -aes-256-cbc -salt -in /home/blockchainnccs/blockchain-parser/result/
blk00003.txt -out blk00001
openssl enc -aes-256-cbc -salt -in /home/blockchainnccs/blockchain-parser/result/
blk00003.txt -out blk00002
openssl enc -aes-256-cbc -salt -in /home/blockchainnccs/blockchain-parser/result/
blk00003.txt -out blk00003
openssl enc -aes-256-cbc -salt -in /home/blockchainnccs/blockchain-parser/result/
blk00000.txt -out blk00000.enc -k
12345678900987654321aquickbrownfoxjumpedoveralazydog12345678900987654321

var additionTx = additionInterface.new(


"Assalam o Alaikum, we are testing ITU Data Chain, Welcome Onboard!",
{
from: eth.accounts[0],
data: additionhex,
gas: 1000000
}
)

You might also like