[SOLVED] 程序代写 IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)

30 $

File Name: 程序代写_IS3101_Cryptocurrency_&_Blockchain_(2021/22_Semester_B).zip
File Size: 640.56 KB

SKU: 7282990469 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Tutorial 10: DApps 1
Intended Learning Outcomes:

Copyright By PowCoder代写加微信 assignmentchef

ILO1: Explain the concepts related to cryptocurrency, blockchain, and distributed ledger technologies.
ILO3: Evaluate security issues related to cryptocurrency and blockchain.
Activity 1. Introduction of Atra [Beta platform]
What is Atra?
• Services is a cloud platform that helps you build, deploy, and maintain decentralized blockchain applications.
Why should I use Atra?
• Atra turns months of development time into minutes and makes maintaining and extending your application just as easy. No cryptocurrency required, no code required.
How does the platform work?
• Access the platform’s web services by Web Console or API. Use interoperable services to design and build a custom decentralized application. Come back to the console later to maintain or extend your application.
What is the beta platform?
The beta release of the Atra platform is a free version for anyone to use, no billing information is required.
How much does it cost?
• The beta release of the platform is free. Production platform pricing is TBD.
What can I build?
• End-to-end decentralized blockchain applications for any use case. Our services are used case agnostic. We provide services from data storage to user interface.
What blockchain network does Atra use?
• Atra beta uses the Ethereum rinkeby test network and the production platform uses the Ethereum main network.
Does the platform work on mobile devices?
• The platform’s web console is a mobile-friendly website. The applications built with the platform can also be accessed by any device. Services can be directly accessed within a mobile application using the API.
Page 1 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
What are some example applications I can build?
• Supply chain management integrations for greater transparency and traceability
• Peer-to-peer social networking
• Public marketplace with peer-to-peer transactions
• Global un-censorable news sources
• Immutable and verifiable software package binaries
• Secure digital record of certificates accessible worldwide
• Proof of insurance records accessible anywhere
• Custom Ethereum payment processing
• Gallery https://console.atra.io/app/9139ab3d-0b76-4fe9-b5a8-036424e69351
Activity 2. Software Requirements
• Desktop Browser (Chrome, Brave, Firefox) with Metamask Extension.
• Sign up for Atar account. https://console.atra.io/
Installing Metamask
A wallet allows you to store your Ether and is the connection between you and the Ethereum application. In this tutorial, we will use Metamask – a widely popular browser wallet. (make sure you’re on a desktop browser – Chrome, Brave, and Firefox are compatible) Follow the instructions to download, install and set up the Metamask browser extension.
Page 2 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Once Metamask is installed, you’ll need to deposit test Ether into your wallet so you can participate with our Ethereum application. We are going to use theRinkeby Faucet (https://rinkebyfaucet.com/ ) to fill our wallets with Ether. In order to receive test Ether from the faucet, you will need to send your wallet address to the faucet via a social media post – this sounds weird, but it prevents spamming. Our social media platform of choice for this is Twitter. You can find your wallet address at the top of the Metamask extension popup by clicking on your account name. Make a post including the address on one of the social media options the facet accepts. Once posted, grab the URL to that post and insert it on the facet page.
Don’t worry – no one can steal your Ether from you posting your public wallet address! Worst case someone may send you some Ether unexpectedly. Once the transaction is complete in the
facet, you’re all set. Ether is now in your wallet.
Congrats! You now have the basic requirements for building a decentralized application on Atra. To recap,
• You should be on a supported desktop browser with the Metamask extension installed
• Set your Metamask wallet to the Rinkeby Test Network
• Make sure test Ether is in your wallet
Sign up Atra at: https://console.atra.io/
Setting up your Atra Account: https://console.atra.io/docs/tutorials/account-setup
Page 3 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Activity 3. Design Tweeter like DApps
Begin with Atra Developer Console.
You don’t need to create a project, you can begin with creating dTables for data storage, then Tiggers for Business logic, and then build your client user interface by LiteUI.
Page 4 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Add a Table.
Note: once published to the blockchain, the table structure cannot be changed!
Page 5 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Create a table call dTweets and the table contains 3 columns.
Page 6 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Click on your newly create table
Click on.
You can then click on the to insert some records.
Page 7 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Click the Quickfill: Use My Wallet Address.
We can use the Rinkeby Address provided by Metamask.
Page 8 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
You can click the Contract tab to view the generated Solidity Code for this Smart Contract.
Page 9 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Next, go to trigger.
Use the top menu bar to switch between different features.
Create a Trigger
Page 10 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
We will create an insert Record Trigger to our dTweets table, and set the mapping to each of the data column.
Page 11 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
We will skip the Set Conditions.
We will not charge the users on posting a tweet.
Page 12 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Deploy the Trigger
Page 13 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Click on your newly create trigger.
You have to to access the dTable, because they are 2 separate smart contracts.
Page 14 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
You can click the Contract tab to view the generated Solidity code.
Page 15 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Create 1 more trigger for handling the update of UpVolte.
We can skip the Set Conditions.
Page 16 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
We can accept a payment for a user UpVote trigger.
Page 17 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
We can deploy now.
Page 18 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Don’t forget to.
Page 19 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
It is time to build the client UI.
Page 20 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Or click the + icon.
Page 21 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Set a Site name.
Click Add Page.
Page 22 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Home page.
Click Add UI Element.
Select Text and Add.
Page 23 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Configure the Text.
Edit the text.
Insert a Form and choose the correct Trigger.
Page 24 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Trigger Insert Record allow user to post a tweet with no charge.
Add a List to show all tweet posts to allow user to upvote.
The list shown 1 test record.
Page 25 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Don’t forget to Save your work.
Page 26 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Activity 4. Testing your live DApps:
Click on the Open Public URL link.
Your DApps is live.
Page 27 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Make sure you have Eth in your Metamask before you submit a post! https://rinkebyfaucet.com/
Sorry! To be fair to all developers, we only send 0.1 Rinkeby ETH every 24 hours per unique wallet address. Please try again after 24 hours from your original request.
Page 28 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Activity 5. Finishing Tutorial Upvote LiteUI feature
Page 29 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Type in Vote, click Add button, then click Save button.
Page 30 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Don’t’ forget to click the Update button.
Page 31 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Check a tweet and click Action dropdown, then choose Vote
Click the Vote button.
Page 32 of 33

IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
Department of Information Systems, College of Business, City University of
Confirm the payment.
Refresh to see the updated result.
Activity 6. Submit your work
Please submit your DApps website URL to Canvas “Tutorial 10 Submission”. Deadline: 1-week time.
Reference: https://console.atra.io/docs/tutorials/account-setup
Page 33 of 33

程序代写 CS代考加微信: assignmentchef QQ: 1823890830 Email: [email protected]

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] 程序代写 IS3101 Cryptocurrency & Blockchain (2021/22 Semester B)
30 $