The git clone command will create a new folder XinFin-Node. cd XinFin-Node command changes the current directory to XinFin-Node
b. Install docker & docker-compose
1
sudo ./install\_docker.sh
Copied!
The above command will install docker and docker-compose for you.
c. Update .env file with details
Copy a env.example file from XinFin-Node directory and name it as a .env
Open .env file and edit values for following
1
INSTANCE_NAME : A Display name of your masternode
2
CONTACT_DETAILS : Your Email ID
Copied!
d. Start your Node
1
sudo docker-compose -f docker-services.yml up -d
Copied!
This will start a Masternode and connect to a XinFin Testnet.
You should be able to see your node listed on this page: http://Xinfin.Network (Make sure, you are connected to XinFin Testnet. If not, switch to Testnet on top right corner.)
Your coinbase address can be found in xdcchain/coinbase.txt file.
Add your account address and click on ‘Become a Candidate’ to become a masternode. You must have minimum 10 Million XDC in your account. Once your candidature is accepted your stake of 10 Million XDC is locked._
3. Factoring Process
In a typical factoring on infactor.io, there are 3 parties involved. Supplier, Buyer, and Financier. Supplier is a starting point. Supplier uploads Invoice, Buyer validates invoice, and Financier factors on invoice.
On successful registration, a wallet account is automatically created for you._
Note : To register, you must have uploaded KYC, staked XDC and you are a part of XDC Network by running a masternode. In case of any malicious activity, the staked XDC will be frozen.
1.
Supplier uploads invoice details and related documents.
1.
Buyer verifies invoice authenticity and approves/rejects invoice.
1.
Supplier selects an approved invoice for factoring. All financiers on the platform receive new factoring notification.
2.
Financer sends a factoring proposal along with related documents to supplier. The proposal includes interest rate/month and the upfront payment percent of total invoice amount.
1.
Supplier approves the factoring proposal and the notification is sent to selected financier.
2.
Financier pays first payment to supplier as per factoring criteria.
Note : To transfer amount, a user has to load the amount into a wallet. A deposit functionality is present in user profile section.
1.
Buyer pays invoice amount to financier.
2.
A financier pays final payment(by deducting fees) to supplier.
Fee calculation is done on the basis of Interest Rate (As per factoring criteria) and payout date. If Buyer pays invoice amount earlier to financier, fees will be less and vice versa. The fees calculation is done on the smart contract.