The project is still work in progress, see the disclaimer below.
Introducing Polaris, the revolutionary framework designed to simplify the integration of an Ethereum Virtual Machine (EVM) into your application. Polaris is built with a clean, easy-to-integrate API that eliminates the need for developers to spend time hacking together their own EVM integration solutions. Our framework is highly modular, allowing you to choose the components that best fit your needs and integrate an EVM environment into virtually any application.
Polaris is built with serveral core principles in mind:
- Modularity: Each component is developed as a distinct package, complete with thorough testing, documentation, and benchmarking. You can use these components individually or combine them to create innovative EVM integrations.
- Configurability: We want Polaris to be accessible to as many teams and use cases as possible. To support this, our framework is highly configurable, allowing you to tailor it to your specific needs.
- Performance: In today's competitive crypto landscape, performance is key. Polaris is optimized to deliver the highest levels of performance and efficiency.
- Contributor Friendliness: We believe that open collaboration is key to driving innovation in blockchain development. While Polaris is currently licensed under BUSL-1.1, we plan to adjust our licensing to support contributor-based schemes as we approach production readiness.
- Memes: If ur PR doesn't have a meme in it like idk sry bro, gg wp ghlf.
If you want to build on top of Polaris, take a look at our documentation. If you want to help contribute to the framework, check out the Framework Specs.
Polaris utilizes go workspaces to break up the repository into logical sections, helping to reduce cognitive overhead.
🔭 Polaris Core 🔭 ├── contracts: Contracts and bindings for Polaris (and hosts). ├── docs: Documentation for Polaris. ├── eth: The Core of the Polaris Ethereum Framework. ├── lib: A collection of libraries used throughout the repo. ├── magefiles: Build scripts and utils. ⛄️ Host Chain Implementations ⛄️ ├── cosmos: Polaris integrated into a Cosmos-SDK based chain. └── playground: Polaris integrated into a simple, simulated blockchain.
Golang 1.20+ and Foundry are required for Polaris.
-
Install Go 1.20+ from the official site or the method of your choice. Ensure that your
GOPATH
andGOBIN
environment variables are properly set up by using the following commands:For Ubuntu:
cd $HOME sudo apt-get install golang -y export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:$(go env GOPATH)/bin
For Mac:
cd $HOME brew install go export PATH=$PATH:/opt/homebrew/bin/go export PATH=$PATH:$(go env GOPATH)/bin
-
Install Foundry:
curl -L https://foundry.paradigm.xyz | bash
-
Clone, Setup and Test:
cd $HOME git clone https://github.com/berachain/polaris cd polaris git checkout main go run magefiles/setup/setup.go mage cosmos:test
-
Start a local development network:
mage start
This project is work in progress and subject to frequent changes as we are still working on wiring up the final system. It has not been audited for security purposes and should not be used in production yet.
The network will have an Ethereum JSON-RPC server running at http://localhost:8545
and a Tendermint RPC server running at http://localhost:26657
.