NewChain Newton FAQ
Basic Information
- Project official website
- Official browser
- Github:
Blockchain information
- Model: (Bitcoin is the utxo model, Ethereum is the account model)
- account
- Currency Decimals
- The smallest detachable unit of NEW is ISSAC, 1NEW == 1000000000000000000 ISSAC.
- Total supply
- 100 Billion NEW
- Block interval time
- 3 seconds
- The number of confirmed blocks required for the secure arrival of ordinary transactions
- 10 blocks can be considered safe after confirmation.
- After the transaction is chained, is there any execution failure, and if so how to determine the success of the execution?
- Just like ethereum, there is a possibility that it will fail and the blockchain needs to be queried by the transaction hash to get the exact execution.
- Whether there is a transaction fee, how the fee is assessed, how the actual fee is calculated?
- There is a transaction fee, the inquiry method is the same as Ethereum, please refer to Example Code.
- Does the address require special activation?
- No.
- Does it support multiple signatures?
- Specific references MultiSignatureWallet。
- Where are NewChain's nodes deployed?
- It is currently deployed in the US West, Singapore, Tokyo and Hong Kong.
- How do I deploy my own nodes?
API Documentation
RPC endpoints
ChainID
- ChainIDs can be obtained via RPC and API, and can be saved locally once obtained and generally do not change.
- MainNet: 1012
- TestNet: 1007
Example code:
For docking, the main differences between NewChain and Ethereum are:
- Signature algorithm: Changed secp256k1 used by Ethereum to secp256r1 used by NewChain
- When build a transaction, it is mandatory to pass in the ChainID.
- The address needs to be converted by a method and then presented to the user (What the user see is the address that starts with NEW: NEW182F3f3q8CFM3od4RkjWPPEx6vAcBJpVdurC)
- The code for bidirectional conversion of addresses is already provided in the SDK.
- Please refer to the example code.
Tip:
- Please make sure to check the address submitted by the user to ensure that the ChainID parsed from the address is the same as the ChainID of the current network, otherwise it may cause transaction failure or asset loss.Please refer to the example code for the specific address resolution method. If you have any further questions, please contact our technical support staff.
API Interface
- Please refer to NewChain RPC API reference or Ethereum API
- Currently Newton provides RPC services open to use APIs include the following: (for more interfaces please build your own node)
- "eth_getBalance"
- "eth_protocolVersion"
- "eth_gasPrice"
- "eth_blockNumber"
- "eth_sendRawTransaction"
- "eth_getTransactionCount"
- "eth_getBlockByHash"
- "eth_getBlockByNumber"
- "eth_getTransactionByHash"
- "eth_getTransactionReceipt"
- "eth_getBlockTransactionCountByNumber"
- "eth_getTransactionByBlockNumberAndIndex"
- "eth_getBlockTransactionCountByHash"
- "eth_getCode"
- "eth_estimateGas"
- "eth_call"
- "eth_chainId"
- "eth_getProof"
- "eth_getRawTransactionByHash"
- "txpool_status"
- "rpc_modules"
- "net_version"
- "net_peerCount"
- "net_listening"
- NewPay QR code interface