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

Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract Tutorial
Arnold Pham
 
Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132Ethereummeetuppresentation01 170105172132
Ethereummeetuppresentation01 170105172132
Rihazudin Razik MBCS
 
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
 
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)

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
 
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

BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
TristanJasperRamos
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
Himani415946
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
ShahulHameed54211
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 

Recently uploaded (16)

BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 

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