Skip to content

Blockchain based on Zero Knowledge Proof Technology

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

CAFECA-IO/isuncoin

iSunCoin

This repository is a fork of Ethereum's go-ethereum repository. We expand on v1.16.0 by adding functionalities that enable smart contracts to compute on encrypted data.

切換至中文

Deploy iSunCoin

last updated on 2024-06-18

Environment

  • Ubuntu 22.04

Step

Setup Compilation Environment

Building From Source Code

cd /workspace
git clone https://github.com/CAFECA-IO/isuncoin
cd isuncoin
make geth

Setup Environment

sudo mv isuncoin/ /usr/local
sudo ln -s /usr/local/isuncoin/build/bin/geth /usr/local/bin

Creating Genesis

mkdir ~/isuncoin
cd ~/isuncoin
vi genesis.json
{
  "config": {
    "chainId": 8017,
    "homesteadBlock": 0,
    "eip150Block": 0,
    "eip155Block": 0,
    "eip158Block": 0,
    "byzantiumBlock": 0,
    "constantinopleBlock": 0,
    "petersburgBlock": 0,
    "istanbulBlock": 0,
    "berlinBlock": 0,
    "londonBlock": 0
  },
  "alloc"      : {},
  "coinbase"   : "0x0000000000000000000000000000000000000000",
  "difficulty" : "0x20000",
  "extraData"  : "",
  "gasLimit"   : "0xffffff",
  "nonce"      : "0x0000000000001f51",
  "mixhash"    : "0x0000000000000000000000000000000000000000000000000000000000000000",
  "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
  "timestamp"  : "0x65692200"
}

Initial iSunCoin

geth init --datadir /workspace/chaindata ~/isuncoin/genesis.json

Starting iSunCoin in Screen

  • Will Single Command
geth \
--datadir /workspace/chaindata \
--networkid 8017 \
--mine --miner.threads=1 --miner.etherbase 0xCAFECA05eB2686e2D7e78449F35d8F6D2Faee174 \
--http --http.api eth,net,web3 \
--http.port 8545 --port 30303 --authrpc.port 8551

Official Node

  • enode://199e1fc79824ee7df1164c30427481ba0f0c42de3b3270860619cada6780ebe34edbe76251bf30326f007c1bc82b774eb7e86f4672ce41b2974823fcc4fccbaa@49.0.255.11:30303

Starting ecProxy

bash <(curl https://raw.githubusercontent.com/Luphia/ecProxy/master/shell/install-lite.sh -kL)

Final Check

curl --location 'localhost' \
--header 'Content-Type: application/json' \
--data '{
	"jsonrpc":"2.0",
	"method":"eth_blockNumber",
	"params":[],
	"id":83
}'

Use iSunCoin with imToken

Add iSunCoin into Blockchain Network

  • 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」

Add iSunCoin Account

  • Click 「Manage wallets」
  • Click 「Add」
  • Now you can find iSunCoin in Custom Networks
  • Click 「+」 in iSunCoin Block
  • Now you can use iSunCoin in imToken

About

Blockchain based on Zero Knowledge Proof Technology

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published