Partially compatible with Ethereum Jrpc API

introduce

metamask is an Ethereum wallet that is widely used. In order to promote Vision faster, Vision is compatible with some of the main interfaces of metamask. For new Vision users, you can use metamask to create Vision users.
Compatible interfaces mainly include transfer type, deployment contract call contract type, adding tokens and currency transfer operations. The ide used to deploy the call contract is remix.

interface:

eth_sendRawTransaction (transfer \ deployment contract \ call non-constant contract)
eth_getTransactionReceipt (View transaction results)
eth_call (call the constant method of the contract)

Mainnet Links

Vpioneer Links

You can use you own fullnode as RPC server. Set the RPC URL to "fullnode ip:7080/ethereum/compatible"

VS transfer

Steps:
Since the metamask account has 20 digits, the 46 of the Vision account must be replaced with 0x for transfer.

541

1 Click "Send"

541

2 Fill in the transfer address, fuel price and restrictions (replace 46 of the V network address with 0x)

544

3 Confirm transfer information

548

4 After the transaction is confirmed, you can check the transaction status in the event

Deploy the contract to call the contract instance

1280

1 After compiling the contract, click deploy or transact

521

2 Fill in fuel prices and restrictions

533

3 After clicking Confirm, you can view the deployment status in the event

479

4 After the deployment is successful, the contract method can be seen in the left navigation bar and called

Add tokens and transfer examples

543

1 Take vrc20 as an example, click "Add Token" in the asset, and fill in the contract address on the Add Token page (46 is replaced by 0x)

547

2 Click on'Add Token'

538

3 After the addition is successful, you can view the token balance in the asset

540

4 Transfer currency Click "Send" on the asset page like a transfer

537

5 Fill in the sending address, fuel price and fuel limit and click "Next"

545

6 Confirmation information

544

7 Repeat operations 1-3 at the sending destination to check the token balance

539

8 Check balance