This repository is a fork of Ethereum's go-ethereum repository. We expand on v1.11.6 by adding functionalities that enable smart contracts to compute on encrypted data.
last updated on 2024-06-18
- Ubuntu 22.04
- Setup User
- Setup SWAP
- Setup Compilation Environment
- Building From Source Code
- Setup Environment
- Creating Genesis
- Initial iSunCoin
- Starting iSunCoin in Screen
- Starting ecProxy
- Final Check
- Use iSunCoin with imToken
- Git
- Install Golang
cd /workspace
git clone https://github.com/CAFECA-IO/isuncoin
cd isuncoin
make isuncoin
GOOS=windows GOARCH=amd64 go build -o isuncoin-windows.exe ./cmd/isuncoin
GOOS=linux GOARCH=amd64 go build -o isuncoin-linux ./cmd/isuncoin
go build -o isuncoin-mac ./cmd/isuncoin
sudo mv isuncoin/ /usr/local
sudo ln -s /usr/local/isuncoin/build/bin/isuncoin /usr/local/bin
isuncoin \
--datadir ~/isuncoin \
--mine --miner.threads=1 --miner.etherbase 0xCAFECA05eB2686e2D7e78449F35d8F6D2Faee174 \
--http --http.api eth,net,web3 \
--http.port 8545 --port 30303 --authrpc.port 8551
isuncoin \
--bolt
--datadir /workspace/isuncoin \
--mine --miner.threads=1 --miner.etherbase 0xCAFECA05eB2686e2D7e78449F35d8F6D2Faee174 \
--http --http.api eth,net,web3 \
--http.port 8545 --port 30303 --authrpc.port 8551
bash <(curl https://raw.githubusercontent.com/Luphia/ecProxy/master/shell/install-lite.sh -kL)
curl --location 'localhost' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params":[],
"id":1
}'
- click 「My Profile」
- Click 「Blockchain Networks」
- Click 「+」
- Click 「Customize」
Blockchain Network Name:
iSunCoin
Add RPC URL:
https://isuncoin.baifa.io
Chain ID:
8017
Use as a testnet:
(disable)
Native token symbol:
ISC
Block Explorer URL:
https://baifa.io/app/chains/8017
- Click 「Save」
- Click 「Manage wallets」
- Click 「Add」
- Now you can find iSunCoin in Custom Networks
- Click 「+」 in iSunCoin Block
- Now you can use iSunCoin in imToken