SlideShare a Scribd company logo
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

Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132
Rihazudin Razik MBCS
 
Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract Tutorial
Arnold Pham
 
Example Cosmos SDK Application Tutorial
Example Cosmos SDK Application TutorialExample Cosmos SDK Application Tutorial
Example Cosmos SDK Application Tutorial
Jim Yang
 
Blockchain Land Audit Report.pdf
Blockchain Land Audit Report.pdfBlockchain Land Audit Report.pdf
Blockchain Land Audit Report.pdf
BlockchainLand
 
[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 blockchain
Celine George
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architected
IBM Sverige
 
Crypto box - crypto casino
Crypto box - crypto casinoCrypto box - crypto casino
Crypto box - crypto casino
MaksymVasylchykov
 
ICON Smart Contract Development
ICON Smart Contract DevelopmentICON Smart Contract Development
ICON Smart Contract Development
ICON 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 Sitnikov
DataFest Tbilisi
 
Harmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptxHarmony Marketplace SDK.pptx
Harmony Marketplace SDK.pptx
TinaBregovi
 
StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721StarkNet ERC20 + ERC721
StarkNet ERC20 + ERC721
TinaBregovi
 
Chaincode Use Cases
Chaincode Use Cases Chaincode Use Cases
Chaincode Use Cases
Bluechip Technologies
 
Ethereum contract deploy
Ethereum contract deployEthereum contract deploy
Ethereum contract deploy
Aryan 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
 
Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
Konstantinidis Antonis
 
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
iExec
 
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
dchq
 
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
Joseph Holbrook, Chief Learning Officer (CLO)
 
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsEclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Matthias Zimmermann
 

Similar to Build on Streakk Chain - Blockchain (20)

Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132
 
Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract Tutorial
 
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
 
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
 
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business ApplicationsEclipsecon Europe: Blockchain, Ethereum and Business Applications
Eclipsecon Europe: Blockchain, Ethereum and Business Applications
 

More from Earn.World

Earn.World Report October 2023
Earn.World Report October 2023Earn.World Report October 2023
Earn.World Report October 2023
Earn.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 2023
Earn.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 2023
Earn.World
 
Earn.World - Report - July 2023
Earn.World - Report - July 2023Earn.World - Report - July 2023
Earn.World - Report - July 2023
Earn.World
 
Earn.World - Report - June 2023
Earn.World - Report - June 2023Earn.World - Report - June 2023
Earn.World - Report - June 2023
Earn.World
 
STREAKK - 3rd Generation Blockchain
STREAKK - 3rd Generation BlockchainSTREAKK - 3rd Generation Blockchain
STREAKK - 3rd Generation Blockchain
Earn.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

Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
SEO Article Boost
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
bseovas
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 

Recently uploaded (20)

Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 

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