Accept OriginTrail (TRAC) payments
TRAC is the token of OriginTrail, the project behind a decentralized knowledge graph for supply-chain and other verifiable data. It started on Ethereum in 2018 and has since been bridged to other chains. easyway accepts the original ERC-20 token on Ethereum, through the same checkout and API as ETH and the stablecoins. This page lists the exact contract, the TRAC copies that are not payments, and what a payment costs.
Token, network and limits
| Token | Network | Contract | Confirmations | Min. withdrawal | Withdrawal fee |
|---|---|---|---|---|---|
| TRAC (OriginTrail) | Ethereum · ERC-20 | 0xaA7a9CA87d3694B5755f213B5D04094b8d0F0A6F | 12 | 2 TRAC | 6 TRAC (flat) |
OriginTrail's current documentation only lists its newer Base and Gnosis contracts, so the Ethereum address above comes from Trust Wallet's token registry and CoinGecko, and it is the one contract KuCoin and Coinbase use when they send or receive TRAC. It has 18 decimals and is a plain, non-upgradeable token with a fixed supply of 500 million: minting was closed for good after the 2018 token sale, which is also the switch that keeps transfers on. A transfer charges no fee, so the customer's amount arrives in full, and it costs about 55,000 gas, which the flat withdrawal fee below covers.
What counts as a TRAC payment
Only a plain transfer of the Ethereum ERC-20 token to the invoice address is a payment:
| What the customer holds | Where | Credited? |
|---|---|---|
| TRAC on Ethereum (ERC-20) | 0xaA7a9CA87d3694B5755f213B5D04094b8d0F0A6F | Yes |
| TRAC on Base | 0xA81a52B4dda010896cDd386C7fBdc5CDc835ba23 | No — another network |
| TRAC on Gnosis | 0xEddd81E0792E764501AaE206EB432399a0268DB5 | No — another network |
| TRAC on NeuroWeb (Polkadot) | A parachain asset, not an Ethereum token | No — another network |
TRAC used to publish data on the knowledge graph usually sits on Base, Gnosis or NeuroWeb; it has to be bridged back to Ethereum before it can pay an invoice here. When the customer pays from an exchange, they choose TRAC on Ethereum (ERC-20) in the withdrawal form, which is the only TRAC network KuCoin and Coinbase offer; the guide to paying from an exchange shows the steps.
Amounts and fees
For a USD invoice the TRAC amount is fixed from the exchange rate at the moment the customer picks the coin, and the checkout shows the exact figure. A single transfer below 0.05 TRAC is ignored as dust; larger transfers to the same invoice add up, and it is paid after 12 Ethereum confirmations, usually a few minutes. Short or late payments are handled as in the underpaid and late payments guide.
TRAC is volatile, and it stays TRAC: it is credited and withdrawn in TRAC, so any price move after the payment is yours. The platform fee is a flat 0.5% of each confirmed payment, so 10,000 TRAC received leaves 9950 TRAC on your balance. A withdrawal costs a fixed 6 TRAC to cover the Ethereum gas of one token transfer, and the smallest withdrawal is 2 TRAC. Withdrawals also go out on Ethereum, so give an Ethereum address. All coins are compared on the pricing page.
Integrating
There is no TRAC-specific code. Create an invoice with the API (or a payment link without code), redirect the customer to the hosted checkout and fulfil the order when the signed invoice.paid webhook arrives. To price the invoice in TRAC, pass currency = "TRAC_ERC20"; to offer only TRAC, pass allowed_assets with "TRAC_ERC20" (see limiting the checkout to some coins). The quickstart has runnable examples.
Common questions
Is easyway part of OriginTrail? No. easyway is independent; it only receives the ERC-20 TRAC token on Ethereum as payment for your own goods or services.
Where is the TRAC kept after a payment? On your easyway balance until you withdraw it, and live withdrawals only go to addresses you whitelisted with two-factor authentication (see security). Other data and infrastructure tokens you can accept include The Graph (GRT) and Chainlink (LINK).