Designed by @bilaldar113 Using Post Maker
Hey Everyone!
This is my homework post for the latest lecture provided by @pelon53. He talked about the avalanche blockchain which is one of the fastest-growing projects. The professor explained everything deliberately about what makes it unique and distinguished from other blockchains. He has given homework in which I have provided details relating to lectures in the simplest and in great depth. I hope you understand everything relating to Avalanche through my homework post.
1.- Explain X-Chain, C-Chain, and P- chain in detail.
1.- Explain X-Chain, C-Chain, and P- chain in detail.
Avalanche is a well-famed blockchain project which is known primarily for its scalability because it can perform more than 6000 transactions per second. This project has provided tough competition to Ethereum as it has more uses and used blockchain in a smart way by opting for 3 different chains namely X-Chain, C-Chain, and P-Chain. These chains are interoperable and perform a different task which you can find out after reading the below sections:
X-Chain
X-Chain
An exchange chain is used for several task-related to a token such as creation, exchange, and whatnot including the payment for the creation of token. This chain has made it effortless for people to create their own token with minimum effort. Plus, this chain leverages the Avalanche mechanism, and nodes are assembled parallelly so they won’t have to wait for other nodes to complete which increases the scalability.
C-Chain
C-Chain
Contract chain is all about smart contracts which helps the users of Avalanche blockchain to make their decentralized app with utmost convenience by creating their smart contracts in no time. Contrary to X-chain, this chain node is assembled in linear line while the gas fees are paid through Avax token. Overall, this C-chain is used for the creation of DApps.
P- chain
P- chain
The role of the platform chain is to manage the subnets including every activity relating to validator nodes and staking. Just like X-Chain, this chain also uses a snowman consensus algorithm protocol. The most amazing feature of this chain is that every subnet has many blockchains which is the main secret to its scalability performance.
2.- Explore the Avax Network platform. Screenshots required.
2.- Explore the Avax Network platform. Screenshots required.
Avax has provided a dedicated platform where everyone can perform their preferred task like staking, creating decentralized apps, contacting its support team, joining its community, and much more. I have visited its website and there was a total of 6 main sections that I will explore one by one.
Developers
Developers
If you are interested in developing anything at Avalanche blockchain, then you need to visit this section. You can launch your decentralized app on Ethereum, become a validator by staking your token, mint a token, integrate an exchange, and much more.
Individuals
Individuals
There are several sections in this section. The important one is the Avalanche wallet where you can create a personal wallet and keep your assets. There’s a roadmap where they have shared their journey of quarters of 2021. You will also find Avalanche bridge which helps to connect the wallet with other blockchains and you can come across Avalanche explorer where anyone can explore transactions. As for the solution section, it is for developers where numerous tasks can be performed.
Avalanche-X
Avalanche-X
Most of the developers don’t have enough means to pursue their project, Avalanche provides the opportunity to raise funds in several ways. But a developer has to submit a general proposal relating to their project to continue with this feature.
Press
Press
You can learn more about the press coverage of Avalanche by exploring this section. It can help you to find out what the media thinks about this project.
Community
Community
If you want to connect with the Avalanche community on any platform, then visit this section and you can easily find the link. For the unmatched convenience of its users, it is available in several languages like Thai, English, Turkish, Arabic, Nigeria, Spanish, and many others.
Contact
Contact
Whether you wish to ask Avalanche’s team more about its project or facing any issue, they have provided a dedicated contact page where you can provide details like name, email, details, and your message to reach out to its support team.
3.- Show the last contract verified in the C-Chain network and show the Smart Contract that was generated at that address. Screenshots required.
3.- Show the last contract verified in the C-Chain network and show the Smart Contract that was generated at that address. Screenshots required.
Anything related to smart contracts is done on C-Chain and if we want to find more details about any contract, then there’s a special website called Snowtrace.io where everything is available in sheer detail. Take a look at the procedure of finding the last contract and other relating information:
First, I visit snowtrace.io and click on Blockchain which will show 6 more options, then I will click on a smart verified contract to access the list of smart contracts.
This type of page will be shown where the list of verified contracts will be available. The last contract is marked on the screenshot and I have clicked on it to access more information.
The complete information is now available like balance, Avax value, contact creator, compiler version, and much more.
Details of verified Contract
Details of verified Contract
Contract Name: GothTokenTimelock
Compiler Version: v0.8.0+commit.c7dfd78e
Balance: 0 AVAX
AVAX Value: $0.00
Contract Address: 0x666DfEf6952b338685f33D2B132DAcE43cA5B25e
4.- Explore the last block generated in the C-Chain network. Screenshots required.
4.- Explore the last block generated in the C-Chain network. Screenshots required.
It’s time to explore the last block which was generated in the C-Chain. We will be visiting the same website that we did to find the last verified website.
I opened snowtrace.io and clicked on the blockchain which showed 6 more options so I clicked on “View Blocks” because I need to explore the last generated block on C-Chain.
A page will appear with the latest generated block. The last block was generated 11 seconds ago which I clicked on to find more details.
Now I have got everything like block number, gas used, gas limit, size, and much more that I need to know about the latest block.
5.- Explain in detail the Avalanche consensus protocol and the Snowman consensus protocol.
5.- Explain in detail the Avalanche consensus protocol and the Snowman consensus protocol.
Avalanche Consensus Protocol
Avalanche Consensus Protocol
Avalanche is a unique mechanism that is based on the voting system. It is distinguished from the consensus mechanisms of top cryptos like bitcoin, Ethereum, Polkadot, and others because it doesn’t require any leader to validate the transactions. It is simply up to the node as the first transaction has to be voted by a node, if it is verified, then other nodes will validate it to finalize the transaction. The transactions are processed in parallel as it uses the Directed Acrylic Graph (DAG) consensus protocol.
Snowman Consensus Protocol.
Snowman Consensus Protocol.
This protocol is simply based on Avalanche protocol while the minor difference is that it verifies transactions in linear form. Block and smart contracts are created in this protocol which makes it an important one. However, distributing the work into 2 protocols has simply improved its function.
Conclusion
Conclusion
At the end of my homework, I would like to thank the professor for assisting us in exploring the Avalanche blockchain. It is one of the interesting projects as it has some unique functions which indicate that the future of this blockchain is bright. Plus, exploring its platform helped me to understand more about its use-cases which will be valuable for me.
Thanks For Visiting My Post
Cc: @pelon53