Steps to deploy a test scenario using zos3, yggdrasil,polkadot.
-
Add the required types in json format to the developer settings in polkadot. note: don't forget to save
-
Click on
Add an account
in polkadot accounts -
Save the mnemonic seed in a safe place
-
Click on
Advanced creation options
and select the keyword crypto type ofEdwards (ed25519, alternative)
` -
Add a name and password for your account (remember the password for future usage)
-
Fund the account with test funds (Click on send funds from the account of Alice to your account name)
-
download and install yggdrasil using the following link
-
Start it initially to init the configurations:
systemctl start yggdrasil
Or using
yggdrasil -useconffile /etc/yggdrasil.conf
-
Add the needed peers in the config file generated under Peers.
example:
Peers: [ tls://54.37.137.221:11129 ]
-
Restart yggdrasil by
systemctl restart yggdrasil
-
Select the options to create the twin in polkadot developer extrinsics
-
Selected account -> your Account name
-
Extrinsic module to be submitted(from drop down menu) -> tfgridModule
-
Extrinsic method to be submitted -> createTwin(ip)
-
ip -> Ipv6 obtained from your yggdrasil
-
-
Submit transaction and enter password selected when creating the account
- To get your twin ID, select the options required in polkadot developer chainstate and click on the +
- Module -> tfgridModule
- Method -> twinID(): u32
In case of using RMBProxy, no need for this step.