Creating of an account in Blockchain Network
In flow blockchain, one can create account as follows:
flow accounts create
But first of all, you need to initialize the flow-based blockchain
flow init
๐ Installing selected core contracts and dependenciesโฆ
๐ Congrats! Your project was created.
Start development by following these steps:
cd sampleprojectto change to your new project,flow emulatoror run Flowser to start the emulator,flow testto test your project.
You should also read README.md to learn more about the development process!
I name the project name as โsampleprojectโ
so you have to traverse into the directory:
cd sampleproject
give a name and select the emulator-based blockchain simulation
In order to provide a safe connection, you need to type the following flow command`to run a emulator server:
flow emulator
The emulator screen will shown as follows:
7:37PM Logs
- INF ๐ Flow contract
FlowClusterQC=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
FlowDKG=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
FlowEpoch=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
FlowFees=0xe5a8b7f23e8b548f - INF ๐ Flow contract
FlowIDTableStaking=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
FlowServiceAccount=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
FlowStorageFees=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
FlowToken=0x0ae53cb6e3f42a79 - INF ๐ Flow contract
FungibleToken=0xee82856bf20e2aa6 - INF ๐ Flow contract
FungibleTokenMetadataViews=0xee82856bf20e2aa6 - INF ๐ Flow contract
FungibleTokenSwitchboard=0xee82856bf20e2aa6 - INF ๐ Flow contract
MetadataViews=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
NodeVersionBeacon=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
NonFungibleToken=0xf8d6e0586b0a20c7 - INF ๐ Flow contract
RandomBeaconHistory=0xf8d6e0586b0a20c7 -
INF ๐ Flow contract
ViewResolver=0xf8d6e0586b0a20c7 - INF ๐ฑ Starting gRPC server on port 3569
port=3569 - INF ๐ฑ Starting REST API on port 8888
port=8888 - INF ๐ฑ Starting admin server on port 8080
port=8080 -
INF ๐ฑ Starting debugger on port 2345
port=2345 - INF โ
Started REST API server on port 8888
port=8888 - INF โ
Started admin server on port 8080
port=8080 - INF โ
Started gRPC server on port 3569
port=3569
After typing โflow accounts createโ again, you see the result:
Address 0x179b6b1cb6755e31
Balance 0.00100000
Keys 1
Key 0 Public Key dd784c90c51288bd24e52e057cdccdc58e4f5792530c695c5e5e5174ac856ece763f88e65b644ca2b523044d2d1c053de7f8250374082161706d6cea722ebd2d
Weight 1000
Signature Algorithm ECDSA_P256
Hash Algorithm SHA3_256
Revoked false
Sequence Number 0
Index 0
Contracts Deployed: 0
Congrats!!! You have initiated an account by means of a transaction into the blockchain network.
Comments
Leave a comment