Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vedad url fixes #320

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Documentation

[Docs](https://docs.neonfoundation.io/) are built using [Docusaurus 2](https://docusaurus.io/).
[Docs](https://neonevm.org) are built using [Docusaurus 3](https://docusaurus.io/).

### Installation

Expand Down
28 changes: 14 additions & 14 deletions docs/api/neon-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import neon_solanaVersion_response from "@site/static/schemas/neon-api/v1/neon_s

:::danger

This page is wip :construction_worker:
This page is wip 👷 <!-- The text :construction_worker: is sobstituted with the refenced symbol 👷 -->

:::

Expand Down Expand Up @@ -107,14 +107,14 @@ The method [neon_gasPrice](#get-neon-gas-price) returns data on gas price.

### 3. Neon transaction data

- [neon_getLogs](#get-transaction-logs): returns transaction log data
- [neon_getTransactionReceipt](#get-transaction-receipt): returns transaction receipt data
- [neon_getSolanaTransactionByNeonTransaction](#get-solana-transactions): returns a list of Solana transactions that correspond to a given Neon transaction
- [neon_emulate](#emulate-a-neon-transaction): returns details of an emultated transaction
- [neon_getLogs](#get-transaction-logs--): returns transaction log data
- [neon_getTransactionReceipt](#get-transaction-receipt--): returns transaction receipt data
- [neon_getSolanaTransactionByNeonTransaction](#get-solana-transactions--): returns a list of Solana transactions that correspond to a given Neon transaction
- [neon_emulate](#emulate-a-neon-transaction--): returns details of an emultated transaction

### 4. Parameters

[neon_getEvmParams](#get-parameters): returns parameters of the Neon EVM program deployed on Solana.
[neon_getEvmParams](#get-parameters--): returns parameters of the Neon EVM program deployed on Solana.

## Get versions

Expand Down Expand Up @@ -186,7 +186,7 @@ The [JSON](#get-neon-gas-price-response-as-json) for this response schema is ava

## Get transaction data

### Get transaction logs :construction_worker:
### Get transaction logs 👷 <!-- The text :construction_worker: is sobstituted with the refenced symbol 👷 -->

The `neon_getLogs` method returns transaction log data. This is an extended variant of the [eth_getLogs](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) API method.

Expand Down Expand Up @@ -221,7 +221,7 @@ The `neon_getLogs` method returns transaction log data. This is an extended vari
</TabItem>
</Tabs>

### Get transaction receipt :construction_worker:
### Get transaction receipt 👷 <!-- The text :construction_worker: is sobstituted with the refenced symbol 👷 -->

The `neon_getTransactionReceipt` method returns transaction receipt data.

Expand Down Expand Up @@ -255,7 +255,7 @@ The `neon_getTransactionReceipt` method returns transaction receipt data.
</TabItem>
</Tabs>

### Get Solana transactions :construction_worker:
### Get Solana transactions 👷 <!-- The text :construction_worker: is sobstituted with the refenced symbol 👷 -->

The `neon_getSolanaTransactionByNeonTransaction` method returns a list of Solana transactions that correspond to a given Neon transaction.

Expand Down Expand Up @@ -290,7 +290,7 @@ The `neon_getSolanaTransactionByNeonTransaction` method returns a list of Solana
</Tabs>


## Emulate a Neon transaction :construction_worker:
## Emulate a Neon transaction 👷 <!-- The text :construction_worker: is sobstituted with the refenced symbol 👷 -->

The `neon_emulate` method returns details of an emultated transaction.

Expand Down Expand Up @@ -321,10 +321,10 @@ The [JSON](#get-neon-emulate-response-as-json) for this response schema is avail
</TabItem>
</Tabs>

## Get Parameters :construction_worker:
## Get Parameters 👷 <!-- The text :construction_worker: is sobstituted with the refenced symbol 👷 -->


The `neon_getEVMParams` method returns details of the EVM.
The `neon_getEvmParams` method returns details of the EVM.

<Tabs>
<TabItem value="RSchema" label="Request" default>
Expand All @@ -333,7 +333,7 @@ The [JSON](#get-neon-evm-parameters-request-as-json) for this request schema is

<JSONSchemaViewer schema={ neon_getEvmParams_request } viewerOptions={{ showExamples: true }} />

#### Get Neon EVM parameters request as JSON
The `neon_getEvmParams` method returns details of the EVM.

<CodeBlock language="json">{JSON.stringify(neon_getEvmParams_request, null, 2)}</CodeBlock>

Expand All @@ -351,4 +351,4 @@ The [JSON](#get-neon-evm-parameters-response-as-json) for this response schema i
<CodeBlock language="json">{JSON.stringify(neon_getEvmParams_response, null, 2)}</CodeBlock>

</TabItem>
</Tabs>
</Tabs>
1 change: 1 addition & 0 deletions docs/evm_compatibility/json_rpc_api_methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Split this into standard ETH-supported methods // Not supported methods // AND a
| 39 | [eth_getTransactionByBlockNumberAndIndex](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionbyblocknumberandindex) | _Returns information about a transaction by block number and transaction index position_ | ![done](img/done.ico) |
| 40 | [eth_getTransactionReceipt](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionrecepit) | _Returns the receipt of a transaction by transaction hash_ | ![done](img/done.ico) |

Methods `eth_getTransactionByHash`, `eth_getTransactionByBlockHashAndIndex`, `eth_getTransactionByBlockNumberAndIndex`, `eth_getBlockByHash` and `eth_getBlockByNumber` also return the `chainId` property in addition to the [specified](https://ethereum.org/en/developers/docs/apis/json-rpc) output.

## JSON-RPC methods according to the [Web3 Module API](https://openethereum.github.io/JSONRPC-web3-module)

Expand Down
8 changes: 4 additions & 4 deletions docs/faq/neon-brief-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Neon EVM is an Ethereum Virtual Machine operating as a smart contract on Solana.

### How does Neon EVM Work?

Neon EVM is a smart contract on Solana acting as the Ethereum Virtual Machine. It's compiled into Berkeley Packet Filter bytecode, a format that can be executed on Solana. This allows Neon EVM to receive Solana transactions that contain wrapped Ethereum-like transactions and process them on Solana according to Ethereum rules. Get more details [here](https://docs.neonfoundation.io/docs/about/how_it_works).
Neon EVM is a smart contract on Solana acting as the Ethereum Virtual Machine. It's compiled into Berkeley Packet Filter bytecode, a format that can be executed on Solana. This allows Neon EVM to receive Solana transactions that contain wrapped Ethereum-like transactions and process them on Solana according to Ethereum rules. Get more details [here](https://neonevm.org/docs/about/how_it_works).

### How can I start building on Neon?

Expand Down Expand Up @@ -45,7 +45,7 @@ The following tools are available on Neon:

### How do I transfer SPL tokens between Solana and Neon?

[NeonPass](/docs/token_transferring/neonpass_usage) is an open-source service that facilitates token transfers between Solana and Neon EVM, including the NEON SPL token. To use NeonPass, you must have access to two wallets: a Solana wallet, such as [Phantom](https://phantom.app/), and an EVM wallet, such as [MetaMask](https://metamask.io/).
[NeonPass](/docs/token_transferring/neonpass_usage) is an open-source service that facilitates token transfers between Solana and Neon EVM, including the NEON SPL token. To use NeonPass, you must have access to two wallets: a Solana wallet, such as [Phantom](https://phantom.app/download), and an EVM wallet, such as [MetaMask](https://metamask.io/).

### What is Neon's roadmap?

Expand All @@ -59,7 +59,7 @@ Neon has an active community: check out our [community page](https://neonevm.org

### Where can I see a list of projects in the ecosystem?

You can see the list of projects building on Neon [here](https://docs.neonfoundation.io/docs/about/neon_ecosystem).
You can see the list of projects building on Neon [here](https://neonevm.org/docs/about/neon_ecosystem).

### Where can I see a list of upcoming events involving Neon?

Expand All @@ -71,4 +71,4 @@ Upcoming events in the Neon community are listed on our [events page](https://ne

If you still have a question about the Neon EVM that isn't answered in the following FAQ pages, please join us on our [Discord server](https://discord.gg/neonevm). Our AI support channel, `#ai-support`, will answer your questions day or night. If the AI is not smart enough, don't worry; our support team will be glad to help you.

> Discord [invite link](https://discord.com/invite/ApZRBDqYcN)
> Discord [invite link](https://discord.com/invite/ApZRBDqYcN)
2 changes: 1 addition & 1 deletion docs/governance/technical_implementation/vote.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Your device will display **”Processing”** and then **Your device is now read

#### Step 3: Install the Phantom wallet and connect Ledger to Phantom

3.1 Install the Phantom wallet on your browser by visiting the Phantom website: [https://phantom.app/](https://phantom.app/).
3.1 Install the Phantom wallet on your browser by visiting the [Phantom website](https://phantom.app/download).

3.2 Next, connect your Ledger wallet as per [Ledger's documentation](https://support.ledger.com/hc/en-us/articles/4408131265169-Set-up-and-use-Phantom-to-access-your-Ledger-Solana-SOL-account)

Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const darkCodeTheme = require('prism-react-renderer').themes.dracula;
const config = {
title: 'Neon Docs',
tagline: 'Neon EVM is an open source project implementing the Ethereum virtual machine on Solana.',
url: 'https://docs.neonfoundation.io',
url: 'https://neonevm.org',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenAnchors: 'ignore',
Expand Down
3 changes: 3 additions & 0 deletions linkcheck.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
},
{
"pattern": "^https://thegraph.neonevm.org/index-node/graphql"
},
{
"pattern": "^https://phantom.app"
}
],
"aliveStatusCodes": [
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^3.2.1",
"@docusaurus/plugin-client-redirects": "^3.2.1",
"@docusaurus/plugin-google-analytics": "^3.2.1",
"@docusaurus/preset-classic": "^3.2.1",
"@docusaurus/theme-search-algolia": "^3.2.1",
"@docusaurus/core": "^3.4.0",
"@docusaurus/plugin-client-redirects": "^3.4.0",
"@docusaurus/plugin-google-analytics": "^3.4.0",
"@docusaurus/preset-classic": "^3.4.0",
"@docusaurus/theme-search-algolia": "^3.4.0",
"@mdx-js/react": "^3.0.1",
"algolia": "^0.0.0",
"clsx": "^2.1.0",
Expand All @@ -36,7 +36,7 @@
},
"devDependencies": {
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@docusaurus/module-type-aliases": "^3.2.1",
"@docusaurus/module-type-aliases": "^3.4.0",
"@tsconfig/docusaurus": "^2.0.2",
"typescript": "^5.3.3"
},
Expand Down
4 changes: 2 additions & 2 deletions static/schemas/neon-api/v1/neon_emulate/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"id": {
"type": "number",
"examples": [
"OpEgqw7r98qwerqwehkjhwe8"
"1716308324042"
],
"description": "End-user provided identifier for the request; returned with payload."
},
Expand All @@ -28,4 +28,4 @@
"jsonrpc",
"method"
]
}
}
101 changes: 46 additions & 55 deletions static/schemas/neon-api/v1/neon_emulate/response.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,65 +15,56 @@
"description": "End-user provided identifier for the request."
},
"result": {
"accounts": [
{
"account": "2iBArBKoWNTG2gJ8KfEMtGv63CFPfTnwfsvarBncLtRX",
"additional_resize_steps": 0,
"address": "0xa59cd271578da4931c093f7611488b0a1a4bd198",
"new": false,
"size": 71,
"size_current": 71,
"writable": true
},
{
"account": "7Q8xmg4pHEfxTdwrKKpho6WfX6eFYRsDUuABsnk9iMB8",
"additional_resize_steps": 0,
"address": "0x549b5cb2d324f901aed6938a3838fb9b10898441",
"new": false,
"size": 11427,
"size_current": 11427,
"writable": false
},
{
"account": "AJthh52LdmRpif8HevQUF5TN4tuLCqGMQbm1rDuSkpzZ",
"additional_resize_steps": 0,
"address": "0x6dcdd1620ce77b595e6490701416f6dbf20d2f67",
"new": false,
"size": 10550,
"size_current": 10550,
"writable": false
}
],
"solana_accounts": [
{
"is_writable": false,
"pubkey": "AUmmih1fr3Spj6rd8LFYB1EhfyMV24NqusM8QbWAoBad"
},
{
"is_writable": false,
"pubkey": "CnvWtQMgWiG7KzYMTBYXwk8PB2YYxRzPAZBaPWhRkctJ"
},
{
"is_writable": false,
"pubkey": "HFVUvrCzh26DTFpxjGzSn8cHn2sCtZGJogk3YhmBmzQ4"
}
],
"actions": [
{
"EvmIncrementNonce": {
"address": "0xa59cd271578da4931c093f7611488b0a1a4bd198"
}
}
],
"exit_status": "revert",
"result": "08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002645524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63650000000000000000000000000000000000000000000000000000",
"steps_executed": 919,
"used_gas": 30000
"exitCode": "revert",
"externalSolanaCall": false,
"revertBeforeSolanaCall": true,
"revertAfterSolanaCall": false,
"result": "0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007a45787465726e616c2063616c6c206661696c7320546f6b656e6b65675166655a79694e77414a624e62474b50465843577542766639537336323356513544413a204572726f722070726f63657373696e6720496e737472756374696f6e20303a20637573746f6d2070726f6772616d206572726f723a20307834000000000000",
"numEvmSteps": 441,
"gasUsed": 25000,
"numIterations": 3,
"solanaAccounts": [
{
"pubkey": "7pjifx9FL83gidWbR3KvwwRJb1ThJe3NabhBG3VtjdC3",
"isWritable": true,
"isLegacy": false
},
{
"pubkey": "6gANWp6ZbZpdpt5GhBoCopNAJv1iTnA9kf7L7VRj2ivj",
"isWritable": false,
"isLegacy": false
},
{
"pubkey": "4dWQAaevdp89Jqr5GQV8KTZkG7Un9kvj7QY8fUnJHCgc",
"isWritable": true,
"isLegacy": false
},
{
"pubkey": "EMDBr8bmj7FjSWEmsKeBZZfikuFXhWTJKhQSj41NFLaB",
"isWritable": true,
"isLegacy": false
},
{
"pubkey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"isWritable": false,
"isLegacy": false
},
{
"pubkey": "DR6toPZGbKRdgfQ7krDRrdbX8NDatuttteuXtAcFm4mF",
"isWritable": false,
"isLegacy": false
},
{
"pubkey": "9WY2FENzKGCDQgoi8dXxJrvAqPqoWpKmnXvu7KgADSeb",
"isWritable": false,
"isLegacy": false
}
]
}
},
"required": [
"jsonrpc",
"id",
"result"
]
}
}
6 changes: 3 additions & 3 deletions static/schemas/neon-api/v1/neon_getEvmParams/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
},
"method": {
"type": "string",
"const": "nneon_getEvmParams",
"const": "neon_getEvmParams",
"description": "The method name."
},
"id": {
"type": "number",
"examples": [
"OpEgqw7r98qwerqwehkjhwe8"
"1712927726192"
],
"description": "End-user provided identifier for the request; returned with payload."
}
}
}
}
36 changes: 11 additions & 25 deletions static/schemas/neon-api/v1/neon_getEvmParams/response.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,16 @@
"description": "End-user provided identifier for the request."
},
"result": {
"NEON_ACCOUNT_SEED_VERSION": "3",
"NEON_ADDITIONAL_FEE": "0",
"NEON_CHAIN_ID": "245022926",
"NEON_COMPUTE_BUDGET_HEAP_FRAME": "262144",
"NEON_COMPUTE_BUDGET_UNITS": "500000",
"NEON_EVM_STEPS_LAST_ITERATION_MAX": "1",
"NEON_EVM_STEPS_MIN": "500",
"NEON_GAS_LIMIT_MULTIPLIER_NO_CHAINID": "1000",
"NEON_HOLDER_MSG_SIZE": "950",
"NEON_OPERATOR_PRIORITY_SLOTS": "16",
"NEON_PAYMENT_TO_DEPOSIT": "5000",
"NEON_PAYMENT_TO_TREASURE": "5000",
"NEON_PKG_VERSION": "0.15.13",
"NEON_POOL_COUNT": "128",
"NEON_POOL_SEED": "treasury_pool",
"NEON_REQUEST_UNITS_ADDITIONAL_FEE": "0",
"NEON_REVISION": "9a4bbf29359e752336c0a1ff5fcb03e3ad303b7a",
"NEON_STATUS_NAME": "WORK",
"NEON_STORAGE_ENTRIES_IN_CONTRACT_ACCOUNT": "64",
"NEON_TOKEN_MINT": "89dre8rZjLNft7HoupGiyxu3MNftR577ZYu8bHe2kK7g",
"NEON_TOKEN_MINT_DECIMALS": "9",
"NEON_TREASURY_POOL_COUNT": "128",
"NEON_TREASURY_POOL_SEED": "treasury_pool",
"NEON_EVM_ID": "eeLSJgWzzxrqKv1UxtRVVH8FX3qCQWUs9QuAjJpETGU"
"neonAccountSeedVersion": "3",
"neonMaxEvmStepsInLastIteration": "1",
"neonMinEvmStepsInIteration": "500",
"neonGasLimitMultiplierWithoutChainId": "1000",
"neonHolderMessageSize": "950",
"neonPaymentToTreasury": "5000",
"neonStorageEntriesInContractAccount": "64",
"neonTreasuryPoolCount": "128",
"neonTreasuryPoolSeed": "treasury_pool",
"neonEvmProgramId": "53DfF883gyixYNXnM7s5xhdeyV8mVk9T4i2hGV9vG9io"
}
}
}
}
Loading