SlideShare a Scribd company logo
1 of 14
Download to read offline
Streakk Chain:
Build on the Streakk
Chain
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
01.
Setting up Streakk Chain on Metamask
To perform transactions on the Streakk Chain, you would require Streakk
coins (STKC) to pay for the transaction processing and contract deployment
fee. Follow the instructions given in this guide to setup a Streakk wallet and
deploy a smart contract on Streakk Chain.
Method: Add the Streakk network manually
Note: Please make sure you have already installed Metamask!
Step 1: click on the Network selection dropdown and then click on “Add
network” and then “Add a network manually”
Step 2: Enter the following details and save
PROPERTIES NETWORK DETAILS
Network Name
New RPC Url
Chain ID
Currency Symbol
Explorer URL
Streakk
https://rpc.streakkscan.com
9011
tSTKC
https://streakkscan.com
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
02.
Step 3: Network added successfully
Once added, click on the “switch to streakk” button.
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
03.
Claiming Testnet Streakk tokens(tSTKC)
from Faucet
You will be provided with a default wallet at the time of wallet creation
and if you don't know what to use, you can import an existing wallet. You
can do so by selecting the “user image” icon and clicking on “Import
Account”.
Import your wallet by using the private key.
Step 1: Import Wallet
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
04.
Copy the public address of the account in which you want to claim tSTKC
tokens.
Go to Streakk Faucet: https://streakkscan.com/faucet
Enter your wallet's public address and enter the amount of Streakk coins
you require.
Clicking on send you will receive the testnet tokens to play around the
Streakk ecosystem.
Step 2: Claming Testnet Streakk Coins from Faucet
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
05.
Deploying a Contract on Streakk
Blockchain using Remix IDE
Step 1: Access the Remix IDE Platform
The user can access the Remix IDE Platform by visiting this link:
https://remix.ethereum.org
Step 2: Go to Workspace from the left-panel menu and choose “Create New
File” icon.
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
06.
The new file will be created and the main panel will show blank.
Step 3: Create a "New File" under contracts folder with the name
“streakk.sol”
Note: .sol is the extension of solidity files.
You can either paste your existing code in the main panel of streakk.sol
file or upload your contrat file in the Workspace
You could also use the below sample ERC-20 code
Step 4: Code on Main Panel
Code snippet:
“// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
// https://github.com/OpenZeppelin/openzeppelin-
contracts/blob/v3.0.0/contracts/token/ERC20/IERC20.sol
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(address owner, address spender) external view returns
(uint);
function approve(address spender, uint amount) external returns (bool);
function transferFrom(
address sender,
address recipient,
uint amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint value);
event Approval(address indexed owner, address indexed spender, uint
value);
}
contract ERC20 is IERC20 {
uint public totalSupply;
mapping(address => uint) public balanceOf;
mapping(address => mapping(address => uint)) public allowance;
string public name = "Solidity by Example";
string public symbol = "SOLBYEX";
uint8 public decimals = 18;
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
07.
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
08.
function transfer(address recipient, uint amount) external returns (bool) {
balanceOf[msg.sender] -= amount;
balanceOf[recipient] += amount;
emit Transfer(msg.sender, recipient, amount);
return true;
}
function approve(address spender, uint amount) external returns (bool) {
allowance[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint amount
) external returns (bool) {
allowance[sender][msg.sender] -= amount;
balanceOf[sender] -= amount;
balanceOf[recipient] += amount;
emit Transfer(sender, recipient, amount);
return true;
}
function mint(uint amount) external {
balanceOf[msg.sender] += amount;
totalSupply += amount;
emit Transfer(address(0), msg.sender, amount);
}
function burn(uint amount) external {
balanceOf[msg.sender] -= amount;
totalSupply -= amount;
emit Transfer(msg.sender, address(0), amount);
}
}
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
09.
Go to the Solidity Compiler from the left-panel menu
To select a contract to compile, choose a file in the File Explorer. Or if
there are several files open, make sure the one you want to compile is the
active file in the Editor.
If there is an active file chosen in the file explorer, then the solidity
computer will look like this:
Step 5: Compilation
Click on “Compile streakk.sol” to compile the contract file.
After succcssfull compilation, the section will look like this
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
10.
Go to deploy & run transaction sidebar from the left-panel menu.
To use this module, you need to have a contract compiled.
So, if there is a contract name in the CONTRACT select box (the select box
is under the VALUE input field), you can use this module.
Select environment: Injected Provider - Metamask. We will be authorizing
transaction fee using metamask wallet.
Injected Provider: For connecting Remix IDE to an injected web3 provider.
The most common injected provider is Metamask.
Hardhat Provider: For connecting Remix IDE to a local Hardhat test chain.
Ganache Provider: For connecting Remix IDE to a local Truffle Ganache
test chain.
Step 6: Deployment
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
11.
Click on “Deploy”
Confirm the transaction on metamask access request window:
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE
12.
Once the transaction is confirmed, the deployment details - contract
address and transaction will be visible in the terminal:
Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE

More Related Content

Similar to Build on Streakk Chain - Blockchain

Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract TutorialArnold Pham
 
Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132Rihazudin Razik MBCS
 
Example Cosmos SDK Application Tutorial
Example Cosmos SDK Application TutorialExample Cosmos SDK Application Tutorial
Example Cosmos SDK Application TutorialJim Yang
 
Blockchain Land Audit Report.pdf
Blockchain Land Audit Report.pdfBlockchain Land Audit Report.pdf
Blockchain Land Audit Report.pdfBlockchainLand
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 Yunho Maeng
 
Python packages for blockchain
Python packages for blockchainPython packages for blockchain
Python packages for blockchainCeline George
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architectedIBM Sverige
 
ICON Smart Contract Development
ICON Smart Contract DevelopmentICON Smart Contract Development
ICON Smart Contract DevelopmentICON Foundation
 
Blockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton SitnikovBlockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton SitnikovDataFest Tbilisi
 
Harmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptxHarmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptxTinaBregovi
 
Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1KlaraOrban
 
StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721TinaBregovi
 
Ethereum contract deploy
Ethereum contract deployEthereum contract deploy
Ethereum contract deployAryan Nava
 
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...Andrey Karpov
 
iExec V3 Dev Edition - EthCC Workshop - March 2019 - Paris
iExec V3 Dev Edition - EthCC Workshop - March 2019 - ParisiExec V3 Dev Edition - EthCC Workshop - March 2019 - Paris
iExec V3 Dev Edition - EthCC Workshop - March 2019 - ParisiExec
 
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSDCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSdchq
 

Similar to Build on Streakk Chain - Blockchain (20)

Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract Tutorial
 
Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132
 
Example Cosmos SDK Application Tutorial
Example Cosmos SDK Application TutorialExample Cosmos SDK Application Tutorial
Example Cosmos SDK Application Tutorial
 
Blockchain Land Audit Report.pdf
Blockchain Land Audit Report.pdfBlockchain Land Audit Report.pdf
Blockchain Land Audit Report.pdf
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
 
Python packages for blockchain
Python packages for blockchainPython packages for blockchain
Python packages for blockchain
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architected
 
Crypto box - crypto casino
Crypto box - crypto casinoCrypto box - crypto casino
Crypto box - crypto casino
 
ICON Smart Contract Development
ICON Smart Contract DevelopmentICON Smart Contract Development
ICON Smart Contract Development
 
Blockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton SitnikovBlockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton Sitnikov
 
Harmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptxHarmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptx
 
Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1Encode x NEAR: Technical Overview of NEAR 1
Encode x NEAR: Technical Overview of NEAR 1
 
StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721
 
Chaincode Use Cases
Chaincode Use Cases Chaincode Use Cases
Chaincode Use Cases
 
Ethereum contract deploy
Ethereum contract deployEthereum contract deploy
Ethereum contract deploy
 
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
PVS-Studio and Continuous Integration: TeamCity. Analysis of the Open RollerC...
 
Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
 
iExec V3 Dev Edition - EthCC Workshop - March 2019 - Paris
iExec V3 Dev Edition - EthCC Workshop - March 2019 - ParisiExec V3 Dev Edition - EthCC Workshop - March 2019 - Paris
iExec V3 Dev Edition - EthCC Workshop - March 2019 - Paris
 
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaSDCHQ Cloud Application Platform | Linux Containers | Docker PaaS
DCHQ Cloud Application Platform | Linux Containers | Docker PaaS
 
How to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contractHow to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contract
 

More from Earn.World

Earn.World Report October 2023
Earn.World Report October 2023Earn.World Report October 2023
Earn.World Report October 2023Earn.World
 
Earn.world Presentation (Vietnamese)
Earn.world Presentation (Vietnamese)Earn.world Presentation (Vietnamese)
Earn.world Presentation (Vietnamese)Earn.World
 
Earn.world Presentation (Turkish)
Earn.world Presentation (Turkish)Earn.world Presentation (Turkish)
Earn.world Presentation (Turkish)Earn.World
 
Earn.world Presentation (Spanish)
Earn.world Presentation (Spanish)Earn.world Presentation (Spanish)
Earn.world Presentation (Spanish)Earn.World
 
Earn.world Presentation (Russian)
Earn.world Presentation (Russian)Earn.world Presentation (Russian)
Earn.world Presentation (Russian)Earn.World
 
Earn.world Presentation (Portuguese)
Earn.world Presentation (Portuguese)Earn.world Presentation (Portuguese)
Earn.world Presentation (Portuguese)Earn.World
 
Earn.world Presentation (Polish)
Earn.world Presentation (Polish)Earn.world Presentation (Polish)
Earn.world Presentation (Polish)Earn.World
 
Earn.world Presentation (Korean)
Earn.world Presentation (Korean)Earn.world Presentation (Korean)
Earn.world Presentation (Korean)Earn.World
 
Earn.world Presentation (Italian)
Earn.world Presentation (Italian)Earn.world Presentation (Italian)
Earn.world Presentation (Italian)Earn.World
 
Earn.world Presentation (Indonesian)
Earn.world Presentation (Indonesian)Earn.world Presentation (Indonesian)
Earn.world Presentation (Indonesian)Earn.World
 
Earn.World - Report - September 2023
Earn.World - Report - September 2023Earn.World - Report - September 2023
Earn.World - Report - September 2023Earn.World
 
Earn.world Presentation (French)
Earn.world Presentation (French)Earn.world Presentation (French)
Earn.world Presentation (French)Earn.World
 
Earn.world Presentation (Chinese)
Earn.world Presentation (Chinese)Earn.world Presentation (Chinese)
Earn.world Presentation (Chinese)Earn.World
 
Earn.world Presentation (German)
Earn.world Presentation (German)Earn.world Presentation (German)
Earn.world Presentation (German)Earn.World
 
Earn.world Presentation (English)
Earn.world Presentation (English)Earn.world Presentation (English)
Earn.world Presentation (English)Earn.World
 
Earn.World - Report - August 2023
Earn.World - Report - August 2023Earn.World - Report - August 2023
Earn.World - Report - August 2023Earn.World
 
Earn.World - Report - July 2023
Earn.World - Report - July 2023Earn.World - Report - July 2023
Earn.World - Report - July 2023Earn.World
 
Earn.World - Report - June 2023
Earn.World - Report - June 2023Earn.World - Report - June 2023
Earn.World - Report - June 2023Earn.World
 
STREAKK - 3rd Generation Blockchain
STREAKK - 3rd Generation BlockchainSTREAKK - 3rd Generation Blockchain
STREAKK - 3rd Generation BlockchainEarn.World
 

More from Earn.World (19)

Earn.World Report October 2023
Earn.World Report October 2023Earn.World Report October 2023
Earn.World Report October 2023
 
Earn.world Presentation (Vietnamese)
Earn.world Presentation (Vietnamese)Earn.world Presentation (Vietnamese)
Earn.world Presentation (Vietnamese)
 
Earn.world Presentation (Turkish)
Earn.world Presentation (Turkish)Earn.world Presentation (Turkish)
Earn.world Presentation (Turkish)
 
Earn.world Presentation (Spanish)
Earn.world Presentation (Spanish)Earn.world Presentation (Spanish)
Earn.world Presentation (Spanish)
 
Earn.world Presentation (Russian)
Earn.world Presentation (Russian)Earn.world Presentation (Russian)
Earn.world Presentation (Russian)
 
Earn.world Presentation (Portuguese)
Earn.world Presentation (Portuguese)Earn.world Presentation (Portuguese)
Earn.world Presentation (Portuguese)
 
Earn.world Presentation (Polish)
Earn.world Presentation (Polish)Earn.world Presentation (Polish)
Earn.world Presentation (Polish)
 
Earn.world Presentation (Korean)
Earn.world Presentation (Korean)Earn.world Presentation (Korean)
Earn.world Presentation (Korean)
 
Earn.world Presentation (Italian)
Earn.world Presentation (Italian)Earn.world Presentation (Italian)
Earn.world Presentation (Italian)
 
Earn.world Presentation (Indonesian)
Earn.world Presentation (Indonesian)Earn.world Presentation (Indonesian)
Earn.world Presentation (Indonesian)
 
Earn.World - Report - September 2023
Earn.World - Report - September 2023Earn.World - Report - September 2023
Earn.World - Report - September 2023
 
Earn.world Presentation (French)
Earn.world Presentation (French)Earn.world Presentation (French)
Earn.world Presentation (French)
 
Earn.world Presentation (Chinese)
Earn.world Presentation (Chinese)Earn.world Presentation (Chinese)
Earn.world Presentation (Chinese)
 
Earn.world Presentation (German)
Earn.world Presentation (German)Earn.world Presentation (German)
Earn.world Presentation (German)
 
Earn.world Presentation (English)
Earn.world Presentation (English)Earn.world Presentation (English)
Earn.world Presentation (English)
 
Earn.World - Report - August 2023
Earn.World - Report - August 2023Earn.World - Report - August 2023
Earn.World - Report - August 2023
 
Earn.World - Report - July 2023
Earn.World - Report - July 2023Earn.World - Report - July 2023
Earn.World - Report - July 2023
 
Earn.World - Report - June 2023
Earn.World - Report - June 2023Earn.World - Report - June 2023
Earn.World - Report - June 2023
 
STREAKK - 3rd Generation Blockchain
STREAKK - 3rd Generation BlockchainSTREAKK - 3rd Generation Blockchain
STREAKK - 3rd Generation Blockchain
 

Recently uploaded

定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Lucknow
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
The Intriguing World of CDR Analysis by Police: What You Need to Know.pdf
The Intriguing World of CDR Analysis by Police: What You Need to Know.pdfThe Intriguing World of CDR Analysis by Police: What You Need to Know.pdf
The Intriguing World of CDR Analysis by Police: What You Need to Know.pdfMilind Agarwal
 
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...akbard9823
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 

Recently uploaded (20)

定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
The Intriguing World of CDR Analysis by Police: What You Need to Know.pdf
The Intriguing World of CDR Analysis by Police: What You Need to Know.pdfThe Intriguing World of CDR Analysis by Police: What You Need to Know.pdf
The Intriguing World of CDR Analysis by Police: What You Need to Know.pdf
 
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
Sushant Golf City / best call girls in Lucknow | Service-oriented sexy call g...
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 

Build on Streakk Chain - Blockchain

  • 1. Streakk Chain: Build on the Streakk Chain
  • 2. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 01. Setting up Streakk Chain on Metamask To perform transactions on the Streakk Chain, you would require Streakk coins (STKC) to pay for the transaction processing and contract deployment fee. Follow the instructions given in this guide to setup a Streakk wallet and deploy a smart contract on Streakk Chain. Method: Add the Streakk network manually Note: Please make sure you have already installed Metamask! Step 1: click on the Network selection dropdown and then click on “Add network” and then “Add a network manually” Step 2: Enter the following details and save PROPERTIES NETWORK DETAILS Network Name New RPC Url Chain ID Currency Symbol Explorer URL Streakk https://rpc.streakkscan.com 9011 tSTKC https://streakkscan.com
  • 3. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 02. Step 3: Network added successfully Once added, click on the “switch to streakk” button.
  • 4. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 03. Claiming Testnet Streakk tokens(tSTKC) from Faucet You will be provided with a default wallet at the time of wallet creation and if you don't know what to use, you can import an existing wallet. You can do so by selecting the “user image” icon and clicking on “Import Account”. Import your wallet by using the private key. Step 1: Import Wallet
  • 5. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 04. Copy the public address of the account in which you want to claim tSTKC tokens. Go to Streakk Faucet: https://streakkscan.com/faucet Enter your wallet's public address and enter the amount of Streakk coins you require. Clicking on send you will receive the testnet tokens to play around the Streakk ecosystem. Step 2: Claming Testnet Streakk Coins from Faucet
  • 6. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 05. Deploying a Contract on Streakk Blockchain using Remix IDE Step 1: Access the Remix IDE Platform The user can access the Remix IDE Platform by visiting this link: https://remix.ethereum.org Step 2: Go to Workspace from the left-panel menu and choose “Create New File” icon.
  • 7. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 06. The new file will be created and the main panel will show blank. Step 3: Create a "New File" under contracts folder with the name “streakk.sol” Note: .sol is the extension of solidity files. You can either paste your existing code in the main panel of streakk.sol file or upload your contrat file in the Workspace You could also use the below sample ERC-20 code Step 4: Code on Main Panel
  • 8. Code snippet: “// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; // https://github.com/OpenZeppelin/openzeppelin- contracts/blob/v3.0.0/contracts/token/ERC20/IERC20.sol interface IERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address recipient, uint amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint amount) external returns (bool); function transferFrom( address sender, address recipient, uint amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); } contract ERC20 is IERC20 { uint public totalSupply; mapping(address => uint) public balanceOf; mapping(address => mapping(address => uint)) public allowance; string public name = "Solidity by Example"; string public symbol = "SOLBYEX"; uint8 public decimals = 18; Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 07.
  • 9. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 08. function transfer(address recipient, uint amount) external returns (bool) { balanceOf[msg.sender] -= amount; balanceOf[recipient] += amount; emit Transfer(msg.sender, recipient, amount); return true; } function approve(address spender, uint amount) external returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transferFrom( address sender, address recipient, uint amount ) external returns (bool) { allowance[sender][msg.sender] -= amount; balanceOf[sender] -= amount; balanceOf[recipient] += amount; emit Transfer(sender, recipient, amount); return true; } function mint(uint amount) external { balanceOf[msg.sender] += amount; totalSupply += amount; emit Transfer(address(0), msg.sender, amount); } function burn(uint amount) external { balanceOf[msg.sender] -= amount; totalSupply -= amount; emit Transfer(msg.sender, address(0), amount); } }
  • 10. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 09. Go to the Solidity Compiler from the left-panel menu To select a contract to compile, choose a file in the File Explorer. Or if there are several files open, make sure the one you want to compile is the active file in the Editor. If there is an active file chosen in the file explorer, then the solidity computer will look like this: Step 5: Compilation Click on “Compile streakk.sol” to compile the contract file. After succcssfull compilation, the section will look like this
  • 11. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 10. Go to deploy & run transaction sidebar from the left-panel menu. To use this module, you need to have a contract compiled. So, if there is a contract name in the CONTRACT select box (the select box is under the VALUE input field), you can use this module. Select environment: Injected Provider - Metamask. We will be authorizing transaction fee using metamask wallet. Injected Provider: For connecting Remix IDE to an injected web3 provider. The most common injected provider is Metamask. Hardhat Provider: For connecting Remix IDE to a local Hardhat test chain. Ganache Provider: For connecting Remix IDE to a local Truffle Ganache test chain. Step 6: Deployment
  • 12. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 11. Click on “Deploy” Confirm the transaction on metamask access request window:
  • 13. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE 12. Once the transaction is confirmed, the deployment details - contract address and transaction will be visible in the terminal:
  • 14. Streakk - User Guide: Wallet setup and smart contract deployment on Remix IDE