-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
249 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
BRANCH?=$(shell git rev-parse --abbrev-ref HEAD | sed -e 's/prod/mainnet/g;s/develop/testnet/g;') | ||
BUILDTAG?=$(shell git rev-parse --abbrev-ref HEAD | sed -e 's/prod/mainnet/g;s/develop/testnet/g;') | ||
GITREF=$(shell git rev-parse --short HEAD) | ||
# pull branch name from CI, if available | ||
ifdef CI_COMMIT_BRANCH | ||
BRANCH=$(shell echo ${CI_COMMIT_BRANCH} | sed 's/prod/mainnet/g') | ||
BUILDTAG=$(shell echo ${CI_COMMIT_BRANCH} | sed -e 's/prod/mainnet/g;s/develop/testnet/g;s/testnet-multichain/testnet/g') | ||
endif | ||
VERSION=$(shell bash $(shell pwd)/../build/docker/get_next_git_tag.sh ${INCREMENT_TYPE}) | ||
TAG=$(shell date +%Y-%m-%d) | ||
DATE=$(shell date +%Y-%m-%d) | ||
# ------------------------------- GitHub ------------------------------- # | ||
|
||
pull: ## Git pull repository | ||
@git clean -idf | ||
@git pull origin $(shell git rev-parse --abbrev-ref HEAD) | ||
|
||
region-check: | ||
@if [ -z "${REGION}" ]; then\ | ||
echo "add region env variable";\ | ||
exit 1;\ | ||
fi | ||
|
||
ecr-check: | ||
@if [ -z "${GCR}" ]; then\ | ||
echo "add gcr env variable";\ | ||
exit 1;\ | ||
fi | ||
docker-push: ecr-check | ||
docker push ${GCR}/${IMAGENAME}:${GITREF}_${VERSION} | ||
|
||
docker-build: ecr-check | ||
docker build -f ./Dockerfile -t ${GCR}/${IMAGENAME}:${GITREF}_${VERSION} . | ||
|
||
push-tag: | ||
@echo "Current directory: $(CURDIR)" | ||
@bash $(shell pwd)/../build/docker/push_tag.sh ${VERSION} | ||
|
||
release: docker-build docker-push push-tag | ||
|
||
push-only-image: docker-build docker-push | ||
# ------------------------------------------------------------------ # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,38 @@ | ||
--- | ||
id: quickstart | ||
#title: Introduction to Dojima PoS | ||
title: Dojima | ||
sidebar_position: 1 | ||
hide: | ||
- toc | ||
--- | ||
# Introduction to Dojima PoS | ||
|
||
!!! warning | ||
UPDATING THE DEVELOP DOCS | ||
|
||
The docs are being updated, enhanced, and improved. They are subject to change. Please feel free to raise an issue or pull request if you have any queries or suggestions. | ||
|
||
|
||
Welcome to **Dojima** The most innovative and exciting platform to develop your blockchain application. Blockchain technology is poised to revolutionize how the digital world manages data and conducts business. You can join this revolution by getting a head start on Dojima's decentralized application (dApp) development. | ||
|
||
This guide will introduce you to the Dojima ecosystem. You'll find links to valuable resources and websites that will bring you up to speed on building, not only on Dojima but also on general blockchain application development. | ||
|
||
!!! tip | ||
STAY IN THE KNOW | ||
|
||
Keep up with the latest builder updates from the Dojima team and the community by subscribing to the . | ||
|
||
|
||
## Building on Dojima | ||
|
||
If you are an Ethereum developer, you are already a Dojima developer. Simply switch to the [Dojima RPC](https://api-test.d11k.dojima.network:8545/) and get started. All the tools you are familiar with on the Ethereum blockchain are supported on Dojima by default, such as Truffle, Remix, and Web3js. | ||
|
||
You can deploy decentralized applications to either Dojima Testnet or the Mainnet. The Dojima Testnet connects with the Ethereum Goërli Testnet, which acts as its ParentChain. You can find all the network-related details in the **[network documentation]**. | ||
|
||
### Wallets | ||
|
||
To interact with the Dojima Network, you need to have an Ethereum-based wallet because Dojima runs on Ethereum Virtual Machine (EVM). You can choose to set up a Metamask or Arkane Wallet. More on wallet-related information and why you need one can be found in our wallet documentation. | ||
|
||
### Smart Contracts | ||
|
||
Dojima supports many services you can use to test, compile, debug, and deploy decentralized applications onto the Dojima Network. These include deployment using Alchemy, Chainstack, QuickNode, Remix, Truffle, Hardhat, and Replit. | ||
|
||
<!-- ### Connecting to Dojima | ||
You can add Dojima to Metamask or directly use Arkane, which allows you to connect to Dojima using RPC. | ||
In order to connect with the Dojima Network to read blockchain information, we recommend using the Alchemy SDK. | ||
```js | ||
// Javascript | ||
// Setup: npm install alchemy-sdk | ||
const { Alchemy, Network } = require("alchemy-sdk"); | ||
const settings = { | ||
apiKey: "demo", // Can replace with your API Key from https://www.alchemy.com | ||
Network: Network.DOJIMA_TESTNET, | ||
}; | ||
const alchemy = new Alchemy(settings); | ||
async function main() { | ||
const latestBlock = await alchemy.core.getBlockNumber(); | ||
console.log("The latest block number is", latestBlock); | ||
} | ||
main(); | ||
``` --> | ||
|
||
### Building a new dApp on Dojima? | ||
|
||
Decentralized applications (dApps) act as the bridge between users and their data privacy on the blockchain. The increasing number of dApps validates their usefulness within the blockchain ecosystem, solving challenges like executing transactions between two participants without the need for central authority via smart contracts. | ||
|
||
Suppose you have no prior experience building decentralized applications (dApps). In that case, the below-mentioned resources will give you a head start on the tools required to build, debug, and deploy dApps on the Dojima Network. | ||
|
||
[Full Stack dApp: Tutorial Series](https://kauri.io/full-stack-dapp-tutorial-series/5b8e401ee727370001c942e3/c) | ||
- [Web3.js](https://www.dappuniversity.com/articles/web3-js-intro) | ||
- [Ethers.js](https://docs.ethers.io/v5/) | ||
- [Remix](https://docs.polygon.technology/docs/develop/remix/) | ||
- [Truffle](https://docs.polygon.technology/docs/develop/truffle) | ||
- [Metamask](https://docs.polygon.technology/docs/develop/metamask/overview) | ||
- [Arkane](https://docs.polygon.technology/docs/develop/wallets/arkane/intro) | ||
- [Develop a dApp using Fauna, Dojima and React](https://docs.polygon.technology/docs/develop/dapp-fauna-polygon-react) | ||
### Already have a dApp? | ||
|
||
If you already have a decentralized application (dApp) and are looking for a platform to help you scale efficiently, then you are at the right place because Dojima allows you to: | ||
|
||
1. **Easily migrate from Ethereum Virtual Machine (EVM) based chain**: Dojima prides itself in being the ultimate Layer-2 scaling solution for Ethereum. You don't have to worry about the underlying architecture while moving or deploying your dApps to the Dojima Network as long as it is EVM-compatible | ||
|
||
2. **Use Dojima as a faster transaction layer**: Deploying your dApp to the Dojima Mainnet allows you to leverage Dojima as a faster transaction layer for your dApp. Additionally, you can get your tokens mapped by us. You can join our technical discussions group on Telegram to learn more. | ||
|
||
## Side Note | ||
|
||
If this is overwhelming, that’s alright! You can jump right into the action and start hacking. Here are some notes before you start diving into resources, repositories, and docs: | ||
|
||
1. **Beware the cost of being on the bleeding edge**: Like typical niche programming, dApps and blockchain development moves very quickly. While researching, you may find complex code repositories, 404s on a documentation site, or even no documentation. Use that opportunity to reach out to us via any social media channel. | ||
|
||
2. **The learning curve may be daunting, but the barrier to entry is low**: The community is very open and welcoming! Projects welcome pull requests from outsiders and resolve any blockers actively. We’re working on creating a better world and contribution in any form is appreciated. We’ll be grateful to onboard you into this amazing Web3 ecosystem. | ||
|
||
!!! info | ||
STAY UPDATED | ||
|
||
Decentralized application development encourages network decentralization. Follow our social media handles for more insights and updates about the Dojima ecosystem. You can find the links to all the Dojima communities here. | ||
<style> | ||
.git-revision-date-localized-plugin, .md-source-file, .md-content__button.md-icon { | ||
display: none; | ||
} | ||
</style> | ||
|
||
<div class="section-wrapper product-section-head"> | ||
<div class="hero-image"><img src="../img/developer-1.png" loading="lazy" class="hero-image" style="width: 40%; float: right;"></div> | ||
<div class="hero-left"> | ||
<h1 class="hero-heading">Developers</h1> | ||
<p class="hero-subtext">Your resource hub for seamless onboarding and support within our evolving ecosystem.</p> | ||
</div> | ||
</br> | ||
</div> | ||
<div class="grid-container"> | ||
<div class="grid-item"> | ||
<a href="/templates/omni_chain_ERC20/"> | ||
<div class="product-list-item-header"> | ||
<div class="feature-card-heading">Templates</div> | ||
</div> | ||
<p class="feature-paragraph">Explore our library of ready-made templates, offering instant integration of common use cases or smart contracts, streamlining your blockchain development process.</p> | ||
</a> | ||
</div> | ||
<div class="grid-item"> | ||
<a href="/Dojima/faucet/"> | ||
<div class="product-list-item-header"> | ||
<div class="feature-card-heading">Faucet</div> | ||
</div> | ||
<p class="feature-paragraph">The Faucet is a web-based service that can send you some test tokens so that you can explore and experiment with testnet without having to pay for anything.</p> | ||
</a> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.