Home
Softono
s

status-im

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
3

Software by status-im

status-legacy
Open Source

status-legacy

# Status - a Mobile Ethereum Operating System [<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="80"/>](https://play.google.com/store/apps/details?id=im.status.ethereum) [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80"/>](https://f-droid.org/packages/im.status.ethereum/) [Get it on Github](https://github.com/status-im/status-mobile/releases) Join us in creating a browser, messenger, and gateway to a decentralized world. Status is a free (libre) open source mobile client targeting Android & iOS built entirely on [Ethereum](https://ethereum.org/) technologies. That's right, no middlemen and `go-ethereum` running directly on your device. [![Getting started with Status](https://i.imgur.com/C0aZZEL.jpg)](https://www.youtube.com/watch?v=oDCSEmS9c3o "Getting started with Status") ## Why? We believe in a medium of pure free trade, economies with fair, permission-less access and a world without intermediaries. We want to create policies that can exist between friends or scale globally, we want to communicate securely and be uninhibited by legacy systems. We want to take responsibility for our data, and the way we conduct ourselves privately and promote this way of life to a mass audience. We want deep insights into our own economies so we can make informed, data-driven decisions on how to make our lives better. The Ethereum blockchain, Smart Contracts, Swarm and Whisper provide us with a path forward. If this interests you, **help us make Status a reality** - anyone can contribute and we need everyone at any skill level to participate. ## How to Contribute? Go straight to the [docs](doc/) and choose what interests you: - **Developer** Developers are the heart of software and to keep Status beating we need all the help we can get! If you're looking to code in ClojureScript or Golang then Status is the project for you! We use React Native and there is even some Java/Objective-C too! Want to learn more about it? Start by reading our [Developer Introduction](doc/starting-guide.md) which guides you through the technology stack and start browsing [beginner issues](https://github.com/status-im/status-mobile/issues?utf8=%E2%9C%93&q=is%3Aopen%20is%3Aissue%20label%3A%22good%20first%20issue%22%20). Then you can read how to [Build Status](doc/starting-guide.md), which talks about managing project dependencies, coding guidelines and testing procedures. Check out our [coding guidelines](doc/new-guidelines.md). - **Community Management** Metcalfe's law states that the value of a network is proportional to the square of the number of connected users of the system - without community Status is meaningless. We're looking to create a positive, fun environment to explore new ideas, experiment and grow the Status community. Building a community takes a lot of work but the people you'll meet and the long-lasting relationships you form will be well worth it, check out our [Mission and Community Principles](https://status.app/manifesto) - **Specification / Documentation** John Dewey once said, "Education is not preparation for life; education is life *itself* ". Developers and Designers need guidance and it all starts from documentation and specifications. Our software is only as good as its documentation, check out our [docs](doc/) and see how you can improve what we have. - **Blog Writing** Content is King, keeping our blog up to date and informing the community of news helps keep everyone on the same page. - **Testers** It's bug-hunting season! Status is currently under active development and there is sure to be a bunch of learning, [build status from scratch](doc/starting-guide.md) or if an android user checks out our [nightly builds](https://status.im/nightly). You can shake your phone to submit bug reports, or start browsing our [Github Issues](https://github.com/status-im/status-mobile/issues). Every bug you find brings Status closer to stable, usable software for everyone to enjoy! - **Security** Status is a visual interface to make permanent changes on the Blockchain, it handles crypto-tokens that have real value and allows 3rd party code execution. Security is paramount to its success. You are given permission to break Status as hard as you can, as long as you share your findings with the community! - **Evangelism** Help us spread the word! Tell a friend *right now*, in fact, tell **everyone** - yell from a mountain if you have to, every person counts! If you've got a great story to tell or have some interesting way you've spread the word about Status let us know about it in our [chat](https://join.status.im/chat/public/status) ## Give me Binaries! You can get our Beta builds for both Android and iOS on our [website](https://status.app), through our [nightly builds](https://status.im/nightly/), or by [building it yourself](doc/starting-guide.md). ## Core Contributors [Core Team Members](https://github.com/orgs/status-im/people) Special thanks to [@adrian-tiberius](https://github.com/adrian-tiberius). Without the dedication of these outstanding individuals, Status would not exist. ## Contact us Feel free to email us at [[email protected]](mailto:[email protected]). ## License Licensed under the [Mozilla Public License v2.0](https://github.com/status-im/status-mobile/blob/develop/LICENSE.md)

Crypto & Blockchain Privacy & Anonymity
4K Github Stars
status-go
Open Source

status-go

[![Unit Tests](https://ci.status.im/buildStatus/icon?subject=Unit%20Tests&job=status-go%2Ftests-develop)](https://ci.status.im/job/status-go/job/tests-develop/) [![Unit Tests](https://ci.status.im/buildStatus/icon?subject=Functional%20Tests&job=status-go%2Ftests-rpc-develop)](https://ci.status.im/job/status-go/job/tests-rpc-develop/) [![codecov](https://codecov.io/github/status-im/status-go/graph/badge.svg?token=mQIkVPUdVv)](https://codecov.io/github/status-im/status-go) # status-go `status-go` is the backbone library of [Status App](https://github.com/status-im/status-app). It acts as a "backend" for both applications and implements most of the Status apps business logic. A comprehensive list of `status-go` functionality can be found in [Brief overview](https://www.notion.so/WIP-Brief-overview-1578f96fb65c8042a166ecd79a6b1cb6?pvs=4). # Docs - [How to Build](docs/building.md) - [How to Contribute](CONTRIBUTING.md) - [How to Release](docs/RELEASING.md) - [How to run status-go as HTTP server](/cmd/status-backend/README.md) # License [Mozilla Public License 2.0](https://github.com/status-im/status-go/blob/develop/LICENSE.md)

Crypto & Blockchain
765 Github Stars
nimbus-eth1
Open Source

nimbus-eth1

# Nimbus: ultra-light Ethereum execution layer client [![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![GH action-nimbus-eth1](https://github.com/status-im/nimbus-eth1/actions/workflows/ci.yml/badge.svg)](https://github.com/status-im/nimbus-eth1/actions/workflows/ci.yml) [![GH action-portal](https://github.com/status-im/nimbus-eth1/actions/workflows/portal.yml/badge.svg)](https://github.com/status-im/nimbus-eth1/actions/workflows/portal.yml) [![Discord: Nimbus](https://img.shields.io/badge/discord-nimbus-orange.svg)](https://discord.gg/XRxWahP) [![Status: #nimbus-general](https://img.shields.io/badge/status-nimbus--general-orange.svg)](https://get.status.im/chat/public/nimbus-general) ## Introduction This repository contains development work on an execution-layer client to pair with [our consensus-layer client](https://github.com/status-im/nimbus-eth2). This client focuses on efficiency and security and strives to be as light-weight as possible in terms of resources used. This repository is also home to: - [Nimbus Portal client](./portal/README.md), a [Portal Network](https://github.com/ethereum/portal-network-specs/tree/master) light client. - [Nimbus Verified Proxy](./nimbus_verified_proxy/README.md) All consensus-layer client development is happening in parallel in the [nimbus-eth2](https://github.com/status-im/nimbus-eth2) repository. ## Development Updates For more detailed write-ups on the development progress, follow the [Nimbus blog](https://blog.nimbus.team/). ## Building & Testing ### Prerequisites * GNU Make, Bash and the usual POSIX utilities. Git 2.9.4 or newer. #### Obtaining the prerequisites through the Nix package manager *Experimental* Users of the [Nix package manager](https://nixos.org/nix/download.html) can install all prerequisites simply by running: ``` bash nix-shell default.nix ``` ### Build & Develop #### POSIX-compatible OS ```bash # The first `make` invocation will update all Git submodules. # You'll run `make update` after each `git pull`, in the future, to keep those submodules up to date. # Assuming you have 4 CPU cores available, you can ask Make to run 4 parallel jobs, with "-j4". make -j4 nimbus_execution_client # See available command line options build/nimbus_execution_client --help # Start syncing with mainnet build/nimbus_execution_client # Update to latest version git pull && make update # Build the newly downloaded version make -j4 nimbus_execution_client # Run tests make test ``` To run a command that might use binaries from the Status Nim fork: ```bash ./env.sh bash # start a new interactive shell with the right env vars set which nim nim --version # or without starting a new interactive shell: ./env.sh which nim ./env.sh nim --version ``` #### Windows _(Experimental support!)_ Install Mingw-w64 for your architecture using the "[MinGW-W64 Online Installer](https://sourceforge.net/projects/mingw-w64/files/)" (first link under the directory listing). Run it and select your architecture in the setup menu ("i686" on 32-bit, "x86\_64" on 64-bit), set the threads to "win32" and the exceptions to "dwarf" on 32-bit and "seh" on 64-bit. Change the installation directory to "C:\mingw-w64" and add it to your system PATH in "My Computer"/"This PC" -> Properties -> Advanced system settings -> Environment Variables -> Path -> Edit -> New -> C:\mingw-w64\mingw64\bin (it's "C:\mingw-w64\mingw32\bin" on 32-bit) Install [Git for Windows](https://gitforwindows.org/) and use it to clone Nimbus. Install [cmake](https://cmake.org/). After adding the Git bin directory to your path open a "Git Bash" shell: ```bash bash ``` After installing Mingw-w64 and adding it to your path you should have the `mingw32-make` tool available. Next create a link from `make` to `mingw32-make`: ```bash ln -s mingw32-make.exe make.exe ``` You can now follow those instructions in the previous section. For example: ```bash make nimbus_execution_client # build the Nimbus execution client binary make test # run the test suite # etc. ``` #### Raspberry PI *Experimental* The code can be compiled on a Raspberry PI: * Raspberry Pi 4+ * 64GB SD Card (less might work too, but the default recommended 4-8GB will probably be too small) * [Rasbian Buster Lite](https://www.raspberrypi.org/downloads/raspbian/) - Lite version is enough to get going and will save some disk space! Assuming you're working with a freshly written image: ```bash # Start by increasing swap size to 2gb: sudo vi /etc/dphys-swapfile # Set CONF_SWAPSIZE=2048 # :wq sudo reboot # Install prerequisites sudo apt-get install git libgflags-dev libsnappy-dev mkdir status cd status # Raspberry pi doesn't include /usr/local/lib in library search path - need to add export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH git clone https://github.com/status-im/nimbus-eth1.git cd nimbus-eth1 # Follow instructions above! ``` #### Android *Experimental* Code can be compiled and run on Android devices ##### Environment setup * Install the [Termux](https://termux.com) app from FDroid or the Google Play store * Install a [PRoot](https://wiki.termux.com/wiki/PRoot) of your choice following the instructions for your preferred distribution. Note, the Ubuntu PRoot is known to contain all Nimbus prerequisites compiled on Arm64 architecture (common architecture for Android devices). Depending on the distribution, it may require effort beyond the scope of this guide to get all prerequisites. *Assuming Ubuntu PRoot is used* ```bash # Install prerequisites apt install git make gcc # Clone repo and build Nimbus just like above git clone https://github.com/status-im/nimbus-eth1.git cd nimbus-eth1 make update make nimbus_execution_client build/nimbus_execution_client ``` ### <a name="make-xvars"></a>Experimental make variables Apart from standard Make flags (see link in the next [chapter](#devel-tips)), the following Make variables can be set to control which version of a virtual engine is compiled. The variables are listed with decreasing priority (in case of doubt, the lower prioritised variable is ignored when the higher on is available.) * BOEHM_GC=1<br> Change garbage collector to `boehm`. This might help debugging in certain cases when the `gc` is involved in a memory corruption or corruption camouflage. * ENABLE_LINE_NUMBERS=1<br> Enables logger to print out source code location with log message For these variables, using &lt;variable&gt;=0 is ignored and &lt;variable&gt;=2 has the same effect as &lt;variable&gt;=1 (ditto for other numbers.) ### <a name="devel-tips"></a>Development tips Interesting Make variables and targets are documented in the [nimbus-build-system](https://github.com/status-im/nimbus-build-system) repo. - you can control the Makefile's verbosity with the V variable (defaults to 0): ```bash make V=1 # verbose make V=2 test # even more verbose ``` - same for the [Chronicles log level](https://github.com/status-im/nim-chronicles#chronicles_log_level): ```bash make LOG_LEVEL=DEBUG nimbus_execution_client # this is the default make LOG_LEVEL=TRACE nimbus_execution_client # log everything ``` - pass arbitrary parameters to the Nim compiler: ```bash make NIMFLAGS="-d:release" ``` - if you want to use SSH keys with GitHub (also handles submodules): ```bash make github-ssh ``` - force a Nim compiler rebuild: ```bash rm vendor/Nim/bin/nim make -j8 build-nim ``` #### Git submodule workflow Working on a dependency: ```bash cd vendor/nim-chronicles git checkout -b mybranch # make some changes git status git commit -a git push origin mybranch # create a GitHub PR and wait for it to be approved and merged git checkout master git pull git branch -d mybranch # realise that the merge was done without "--no-ff" git branch -D mybranch # update the submodule's commit in the superproject cd ../.. git status git add vendor/nim-chronicles git commit ``` It's important that you only update the submodule commit after it's available upstream. You might want to do this on a new branch of the superproject, so you can make a GitHub PR for it and see the CI test results. Don't update all Git submodules at once, just because you found the relevant Git command or `make` target. You risk updating submodules to other people's latest commits when they are not ready to be used in the superproject. Adding the submodule "https://github.com/status-im/foo" to "vendor/foo": ```bash git submodule add --force https://github.com/status-im/foo.git "vendor/foo" git config -f .gitmodules submodule.vendor.foo.ignore untracked ``` Removing the submodule "vendor/bar": ```bash git submodule deinit -f -- vendor/bar git rm -f vendor/bar ``` Checking out older commits, either to bisect something or to reproduce an older build: ```bash git checkout <commit hash here> make clean make -j8 update ``` Running a dependency's test suite using `nim` instead of `nimble` (which cannot be convinced not to run a dependency check, thus clashing with our jury-rigged "vendor/.nimble/pkgs"): ```bash cd vendor/nim-rocksdb ../nimbus-build-system/scripts/nimble.sh test # or ../../env.sh nimble test ``` ### Metric visualisation Install Prometheus and Grafana. On Gentoo, it's `emerge prometheus grafana-bin`. ```bash # build Nimbus execution client make nimbus_execution_client # the Prometheus daemon will create its data dir in the current dir, so give it its own directory mkdir ../my_metrics # copy the basic config file over there cp -a metrics/prometheus.yml ../my_metrics/ # start Prometheus in a separate terminal cd ../my_metrics prometheus --config.file=prometheus.yml # loads ./prometheus.yml, writes metric data to ./data # start a fresh Nimbus sync and export metrics rm -rf ~/.cache/execution_chain/db; ./build/nimbus_execution_client --metrics:true ``` Start the Grafana server. On Gentoo it's `/etc/init.d/grafana start`. Go to http://localhost:3000, log in with admin:admin and change the password. Add Prometheus as a data source. The default address of http://localhost:9090 is OK, but Grafana 6.3.5 will not apply that semitransparent default you see in the form field, unless you click on it. Create a new dashboard. Click on its default title in the upper left corner ("New Dashboard"). In the new page, click "Import dashboard" in the right column and upload "metrics/grafana/grafana.infra.status.im.json". In the main panel, there's a hidden button used to assign metrics to the left or right Y-axis - it's the coloured line on the left of the metric name, in the graph legend. To see a single metric, click on its name in the legend. Click it again to go back to the combined view. To edit a panel, click on its title and select "Edit". [Obligatory screenshot.](https://i.imgur.com/AdtavDA.png) ### Troubleshooting Report any errors you encounter, please, if not [already documented](https://github.com/status-im/nimbus-eth1/issues)! * Turn it off and on again: ```bash make clean make update ``` ## License Licensed and distributed under either of * MIT license: [LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT or * Apache License, Version 2.0, ([LICENSE-APACHEv2](LICENSE-APACHEv2) or https://www.apache.org/licenses/LICENSE-2.0) at your option. These files may not be copied, modified, or distributed except according to those terms.

Game Engines
628 Github Stars