1. Background
Currently infstones has supported okc nodes, developers can create endpoint rpc url address in infstones website and apply it to the project
2. Instruction
2.1 Registration
Open the infstones registration link in the browser: https://cloud.infstones.com/register to register
Enter your registration information in the red box (Figure 1), pay attention to the password rules: including upper and lower case letters, numbers, the length of the characters requires more than 8 digits, click the sign up button.
(Figure 1):

- Enter your own mailbox for account activation (Figure 2), click "Activate Account", the page jumps to: https://cloud.infstones.com/login page, and prompt "Activated Successfully", which means that the account registration is successful.
(Figure 2):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662014708-202684-1662014688676.jpg)
2.2 Login and create endpoint rpc url address
- Open the infstones login link in the browser: https://cloud.infstones.com/login, login, see (Figure 3), enter the user ID, password, click "Log In", login successfully, see (Figure 4); page will prompt Google Authenticator and select "Skip For Now"
(Figure 3):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662015125-406673-1662015097161.jpg)
(Figure 4):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662015531-965246-1662015512030.jpg)
- Click "APIs" on the page (Figure 5), and the page will jump to the APIs management page (Figure 6)
(Figure 5):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662015972-340709-1662015960615.jpg)
(Figure 6):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662016158-776033-1662016142300.jpg)
- Click "Create API" on the (Figure 6) page, and then the (Figure 7) dialog box pops up.
(Figure 7):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662016411-895131-1662016397957.jpg)
- Select "OKC Archive" in "Select Chain" on the (Figure 7) page, enter your project name in "Project Name", as in (Figure 8), and then click "Create".
(Figure 8):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662016675-411511-1662016665024.jpg)
- The page jumps to (Figure 9) page, copy the address under "Endpoint" (the address in the red box in (Figure 9) and save it.
(Figure 9):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662016814-707043-1662016780838.jpg)
2.3 Test the endpoint rpc url address
- Copy the address and stitch it into the following command
curl -X POST --data '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id":1}' -H "Content-Type: application/json" https://api. infstones.com/okc-archive/mainnet/f51d6925dc0a482dba09f949bfd023cf
- Then open terminal and execute the above command at the command line. You will see the results returned (Figure 10)
(Figure 10):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662017706-359841-image.png)
- On the (Figure 11) page you will see the chart fold up and down, proving that the generated endpoint rpc url address is accurate and valid, and now you can use it in your project!
(Figure 11):
![[图片]](https://forum.okt.club/assets/files/2022-09-01/1662017812-844398-image.png)