Skip to content

vickyguevara/dig

 
 

Repository files navigation

dig

Software Release dig blockchain Android Raspberry Pi Security Check

Dig is a hub blockchain that interconnects physical plots of land, which will each be governed by a locally operated blockchain. Due to the regulatory challenges involved, dig splits itself up into many chains which can each follow appropriate legislation. This is the beginning of the "Dig Network."

Here's a little light background reading:

Status

Testnet two launched August 15-16.

We will need a testnet three becuase we'd like to use sign-mode EIP and that will require testing. It will allow ethereum formatted addresses to be used natively on dig.

Join Testnet

Validators who haven't put a star on this repo, won't have gentxs accepted for testnet 3.

We are currently on testnet-2 and the master branch reflects that. Work on testnet-3 is in the branch testnet-3. Genesis state can be found on ipfs at:

Qme9pLVu3ZDzi5BTapqfHkuvacGT1FizQ3KVpuSyxzbmiN

Linux amd64:

wget https://github.com/faddat/dig/releases/download/latest/dig_latest_linux_amd64.tar.gz
tar xvf dig_latest_linux_amd64.tar.gz
mv digd /usr/bin
digd unsafe-reset-all
wget -O ~/.dig/config/genesis.json https://raw.githubusercontent.com/faddat/dig/master/networks/testnet-2/genesis.json
digd start --p2p.persistent_peers 1da97dd40866948f65b3aff3d8630b7d76ab20ea@95.217.196.54:2090
wget https://github.com/faddat/dig/releases/download/latest/dig_latest_linux_arm64.tar.gz
tar xvf dig_latest_linux_amd64.tar.gz
mv digd /usr/bin
digd unsafe-reset-all
wget -O ~/.dig/config/genesis.json https://raw.githubusercontent.com/faddat/dig/master/networks/testnet-2/genesis.json
digd start --p2p.persistent_peers 1da97dd40866948f65b3aff3d8630b7d76ab20ea@95.217.196.54:2090

Bounties, paid in dig, for further documentation.

Dig is DIFFERENT

on a cosmos network, if you go offline while validating, you go to jail and are slashed 1% of delegated stake.

but it doesn't matter if you go offline, not really. The key thing is to have 2/3rds of total delegated stake online continuously.

You won't be slashed for going offline on dig, but you will go to jail. Later, dig will check itself like: am I a validator? am I in jail?

and if dig is in jail it'll unjail itself. This will involve the use of a less-secure wallet that is kept in the filesystem to be used for this purpose only. Getting out of jail will be cheap.

double signing

Signing the same block twice with the same key is even more heavily punished on Dig. We think that you should keep your keys close to your chest. I am typing this on my validator, by the way. It's a MacBook.

Genesis Transactions

Genesis Transactions for Testnet-2 are now closed. If Testnet-2 functions as desired, there will be no Testnet-3

If you are using ubuntu, please do not use its native golang package, it is two years old. Instead:

wget -q -O - https://git.io/vQhTU | bash -s -- --version 1.16.7
cd ~/
git clone https://github.com/faddat/dig
cd dig
go mod tidy
cd cmd/digd
go install .
cd ~/
digd init yourname
cp dig/networks/testnet-2/genesis.json ~/.dig/config
# DEAR GOD KEEP YOUR SEED PHRASE.
digd keys add validator
digd add-genesis-account validator 1000000000udig
digd gentx validator 100000000udig --chain-id dig-testnet-2
cp ~/.dig/config/gentx/* ~/dig/networks/testnet-2/gentx
cd dig
git add networks
git commit -m "gentx yourvalidatormoniker"
gh auth login
gh pr create

Design

form

  • Software-wise, dig is a monorepo. All of its essential code lives in this repository:
    • Genesis
    • Go App Code
    • Javascript Front End Code
    • Mobile App
    • Block explorer

function

  • The dig mainnet is as minimal as possible. While we may add a few things before mainnet, it's our preference to remove things. The dig mainnet is for coordinating the efforts of like-minded people who'd like to see:

    • Liquid Land: Blockchain style real estate investing
    • Charter Cities: Land where the rules are laid out on the chain that constitutes them
    • Hierarchical transparent governance: The trouble with hierarchical orgs is opacity, not hierarchy itself.
    • Research and development of blockchain governance in physical and virtual spaces.
  • Chains in the dig network will launch from the code in this repository, as well.

Financing

We're comitted to transparency in all matters, including the composition of genesis allocations. Dig has raised $0. Adam has funded development work. If we take funding, informaiton on that will go right here. We will only accept funding from parties who are aligned with the long-term vision of the project and willing to have their tokens on exactly the same terms as those who get them in an airdrop.

Roadmap

  • Concept development by Jacob Gadikian and Adam Christopher Chaplin

  • Prototype

  • Airdrop Prototype code and OpenAPI spec

  • Testnet-1: Results showed that we needed to work on the genesis parameters in Testnet-2

  • Omniflix Testnet-1: Participating in the OmniFlix testnet proved the viablity of a large validator set. Testnet-2 allows 500 validators.

  • Upgrade to Cosmos SDK 0.43.0

  • IBC Testing

  • NFT Implementation by Khanh Nguyen (not included in testnet-2)

  • Genesis transactions for testnet-2: Completed August 14, 2021

  • Keplr integration

  • Akash-based Bus bar

  • Launch testnet-2

  • IPFS-based genesis hosting and download

  • Configuration overrides

  • Clean airdrop code https://github.com/notional-labs/c17 and https://github.com/notional-labs/staking-data-collection

    • Test airdrop code for ethereum-style addresses using the Osmosis Cosmos SDK fork
    • Refactor airdrop if this works
  • Community Security Audit: 0.1% of Dig tokens reserved for community members who provide a detailed, contextual audit

  • Block explorers

    • gex
    • big dipper
  • Ionization

  • Mainnet Launch

  • IBC Integration via Notional and Chandra Station Relayers

    • Osmosis Integration
    • Emeris Integration
    • Sif Integration
      • we really don't like IBC whitelisting. No sif.
    • Microtick Integration
  • Announcement of candidate Real Estate development sites and their regulatory requirements

  • DFY Integration

  • Blurt Integration

  • First update to dig mainnet

  • First launch of a chain adjacent to dig with live real estate, governed and developed by the chain.

About

Dig: Governance

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 36.2%
  • Dart 36.0%
  • JavaScript 27.3%
  • Go 0.4%
  • Shell 0.1%
  • Dockerfile 0.0%