EN

Emercoin Against Fakes

Pressrelease
17-10-2016

As one of the UN departments involved in operations against counterfeits reports, the volume of the counterfeit reaches $250 bln. a year. To keep people informed about the bad side of counterfeit the UN has made a clip you can see here http://www.unodc.org/counterfeit/

Not so far ago we talked about blockchain implementation in order to for struggle against fakes at the watch manufacturing factory Raketa http://www.blockchainengine.org/raketa-watches-trials-blockchain-technology-to-fight-counterfeiting/

Keeping in mind our experience with Raketa we can say that the blockchain is a right instrument to prevent counterfeits easily and effectively. It is a simple and low cost tool that can help organizations to save money and secure the effective repulse against the mentioned negative phenomenon.

Today we are proud to introduce our new utility to help to record large lists of serial numbers into the blockchain.

EMC SN Publisher
Manual

This utility is intended for the automatic input of serial numbers into the blockchain of Emercoin according to the table template in CSV format.

Preparation of a CSV serial number table

1. Open an Microsoft Excel table and create a new empty page.
2. The first box (A1) shall be called “SN”.
3. Other boxes of the first line may have any name, but if you need to protect the content of any column with a signature, it is required to place an “F-” in front of its name (for example, F-Model, F-Master).
4. In the next line you start to input the data for the first serial number.

For example:
%d0%bf%d1%80%d0%b1%d1%81%d0%ba1

5) When the table is filled in, save (export) it in the CSV file format.

This table will serve as the template for the reservation and signing of serial numbers.

Preparation of the Emercoin wallet for the work with the utility

1. If Emercoin wallet is currently running, exit it (Menu File/Exit).
2. Enter the wallet folder via Windows Explorer:

C:\Users\”User”\AppData\Roaming\EmerCoin

(User — user name for this computer)

In this folder you need to create a configuration file called emercoin.conf (for convenience, first you shall create a text file called emercoin.txt, and then rename it after editing).

In the file emercoin.conf you shall write the following lines:

server=1
listen=1
rpcuser=rpcemc
rpcpassword=”your password” (the connection password, not the wallet password!)
debug=rpc

3) Launch the wallet.

4) If your wallet is encrypted, it shall be unblocked (by clicking on the lock icon in the bottom right corner of the program and entering the wallet password).

4) You may check the wallet’s readiness to work with the utility by typing the following address in the browser: http://127.0.0.1:6662. If the browser requests the password and login, all is fine.

5) Make sure that the Emercoin wallet contains enough EMC coins for all the records for your project (based on the calculation of ~0.07 EMC per one serial number).

SN Publisher preparation

Download the EMC Digital Proof of Ownership (DPO) Serial Number Publisher here. (Github)
The utility is semiautomatic. It finds the enterprise root record DPO (for example, dpo:Raketa) and links all serial numbers to the EMC-address of this record.
To do this, after the installation:

1. Go to the folder with the SN Publisher installation utility
(by default, this path is C:\Program Files (x86)\EmerCoin\Emercoin DPO SN Publisher).

2) Open the file Emercoin_DPO_SN_Publisher.exe.config in a text editor.

3) Edit the entry < add key="RootDPOName" value="dpo: Raketa” / > and save the edited file.

Inputting serial numbers into the blockchain

1) Launch the utility.
%d0%bf%d1%80%d0%b1%d1%81%d0%ba2

2) In the tab “Wallet settings”, input the connection password (rpcpassword=”your password”) and click the “Check connection” button.
In case of successful connection, the utility will show the message “Connected successfully” and your wallet balance in EMC.

3) Go to the next tab “Serial Numbers”.
Using the button “Browse..” select the CSV file containing the table with your serial numbers.

%d0%bf%d1%80%d0%b1%d1%81%d0%ba3

4) In the window “Lifetime of SN record”, select the number of days, for the period of which your serial numbers will be reserved (by default this is 1,000 days).

5) Using the button “Reserve serial number record” you launch the process of serial numbers reservation in the blockchain. The utility addresses the Emercoin wallet and creates the records automatically. In the process, the EMC coins are spent (0.06 EMC per record by default). This process will take some time, proportionally to the number of records. The confirmation of all published records by the Emercoin network will take 20–50 minutes.

6) If you have completed the operation described in section 5 and made sure that all records to the blockchain were inputted, you may proceed to signing the reserved serial names.
This operation is analogous to the previous one and will take about the same amount of time. The coins are spent (0.01 EMC per record) for this operation as well.

P.S. If for resolution of your tasks any functions are missing in this utility or you want to adapt it for your business, contact us and we will be able to help you ([email protected]).