-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cris
committed
Jul 9, 2019
1 parent
ee30c16
commit c53981d
Showing
1 changed file
with
39 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,72 @@ | ||
# How to Join Nebulas Testnet | ||
# Cómo unirse a la testnet de Nebulas | ||
## Introducción | ||
Estamos encantados de lanzar la Testnet de Nebulas. Simula la red de Nebulas y NVM, y permite a los desarrolladores interactuar con Nebulas sin pagar el costo del gas. | ||
|
||
## Introduction | ||
> [https://github.com/nebulasio/go-nebulas/tree/testnet](https://github.com/nebulasio/go-nebulas/tree/testnet) | ||
We are glad to release the Nebulas Testnet. It simulates the Nebulas network and NVM, and allows developers to interact with Nebulas without paying the cost of gas. | ||
### Compilacion | ||
El archivo ejecutable de la mainnet de Nebulas y las bibliotecas dependientes se deben compilar primero. Varios módulos importantes se enumeran a continuación: | ||
|
||
```text | ||
https://github.com/nebulasio/go-nebulas/tree/testnet | ||
``` | ||
* **NBRE:** el Nebulas Blockchain Runtime Environment es la plataforma para ejecutar la Representación del Protocolo de Nebulas, como el DIP, el NR, etc. | ||
* **NEB:** el proceso principal de la mainnet de Nebulas. NEB y NBRE se ejecutan en procesos independientes y se comunican a través de IPC. | ||
|
||
Las instrucciones sobre cómo compilar los módulos se pueden encontrar en los [tutoriales](http://wiki.nebulas.io/en/latest/go-nebulas/tutorials/01-installation.html#compile-nebulas). | ||
|
||
### Configuration | ||
### Configuración | ||
Podrás encontrar los archivos de configuración de la testnet en [`testnet/conf`](https://github.com/nebulasio/go-nebulas/tree/testnet/testnet/conf). | ||
|
||
The testnet configuration files are in the folder [`testnet/conf`](https://github.com/nebulasio/go-nebulas/tree/testnet/testnet/conf) under `testnet` branch, including | ||
Esa carpeta contiene los siguientes archivos: | ||
|
||
#### genesis.conf | ||
|
||
All configurable information about the genesis block is defined in genesis.conf, including | ||
Permite configurar los parámetros del bloque inicial (_genesis block_), incluyendo: | ||
|
||
* **meta.chain\_id:** chain identity | ||
* **consensus.dpos.dynasty:** the initial dynasty of validators | ||
* **token\_distribution:** the initial allocation of tokens | ||
* **meta.chain\_id:** identidad de la cadena. | ||
* **consensus.dpos.dynasty:** dinastía inicial de validadores. | ||
* **token\_distribution:** asignación inicial de tokens. | ||
|
||
> _Attention_: DO NOT change the genesis.conf. | ||
> **IMPORTANTE**: No se deben realizar cambios sobre el archivo genesis.conf. | ||
#### config.conf | ||
|
||
All configurable information about runtime is defined in config.conf. | ||
Permite configurar los parámetros del runtime. | ||
|
||
Please check the [`template.conf`](https://github.com/smalloranges/wiki/tree/887270957eb99d971309610bc1fdafb6a2d9d552/resources/conf/template.conf) to find more details about the runtime configuration. | ||
Para más información sobre este archivo, véase [`template.conf`](https://github.com/nebulasio/nebdocs/blob/master/docs/resources/conf/template.conf). | ||
|
||
> _Tips_: the official seed node info is as below, | ||
> **Nota**: la información del nodo semilla oficial debe verse tal como se muestra aquí debajo: | ||
```javascript | ||
seed:["/ip4/52.60.150.236/tcp/8680/ipfs/QmVJikqWQst13QsgdCLBjgcSWwpAAdZjoExGdvK3r2CNhv"] | ||
seed:["/ip4/47.92.203.173/tcp/8680/ipfs/QmfSJ7JUnCEDP6LFyKkBUbpuDMETPbqMVZvPQy4keeyBDP","/ip4/47.89.180.5/tcp/8680/ipfs/QmTmnd5KXm4UFUquAJEGdrwj1cbJCHsTfPWAp5aKrKoRJK"] | ||
``` | ||
|
||
#### API List | ||
|
||
#### Resumen de la API | ||
Test Endpoint: | ||
|
||
| API | URL | Protocol | | ||
| --- | :---: | :---: | | ||
| RESTful | [https://testnet.nebulas.io/](https://testnet.nebulas.io/) | HTTP | | ||
|
||
* [GetNebState](https://github.com/nebulasio/wiki/blob/master/rpc.md#getnebstate) : returns nebulas client info. | ||
* [GetAccountState](https://github.com/nebulasio/wiki/blob/master/rpc.md#getaccountstate): returns the account balance and nonce. | ||
* [LatestIrreversibleBlock](https://github.com/nebulasio/wiki/blob/master/rpc.md#latestirreversibleblock): returns the latest irreversible block. | ||
* [Call](https://github.com/nebulasio/wiki/blob/master/rpc.md#call): execute smart contract locally. The tx won't be submitted on chain. | ||
* [SendRawTransaction](https://github.com/nebulasio/wiki/blob/master/rpc.md#sendrawtransaction): submit signed transaction. The transaction must be signed before sending. | ||
* [GetTransactionReceipt](https://github.com/nebulasio/wiki/blob/master/rpc.md#gettransactionreceipt): get transaction receipt info from the transaction hash. | ||
|
||
More Nebulas APIs at [RPC](https://github.com/nebulasio/wiki/blob/master/rpc.md). | ||
* [GetNebState](https://github.com/nebulasio/wiki/blob/master/rpc.md#getnebstate): returns nebulas client info. | ||
* [GetAccountState](https://github.com/nebulasio/wiki/blob/master/rpc.md#getaccountstate): devuelve el balance y el _nonce_ de la cuenta. | ||
* [LatestIrreversibleBlock](https://github.com/nebulasio/wiki/blob/master/rpc.md#latestirreversibleblock): devuelve el último bloque irreversible. | ||
* [Call](https://github.com/nebulasio/wiki/blob/master/rpc.md#call): ejecuta un contrato inteligente de forma local, sin enviar datos al chain. | ||
* [SendRawTransaction](https://github.com/nebulasio/wiki/blob/master/rpc.md#sendrawtransaction): permite enviar una transacción firmada. | ||
* [GetTransactionReceipt](https://github.com/nebulasio/wiki/blob/master/rpc.md#gettransactionreceipt): obtiene información del recibo de una transacción mediante su hash. | ||
|
||
#### Claim Tokens | ||
Léase más sobre estos APIs [aquí](https://github.com/nebulasio/wiki/blob/master/rpc.md). | ||
|
||
Each email can claim tokens every day [here](https://testnet.nebulas.io/claim). | ||
|
||
## Tutorials | ||
#### Pedir Tokens | ||
Cada email puede reclamar tokens todos los días [aquí](https://testnet.nebulas.io/claim). | ||
|
||
## Tutoriales | ||
#### English | ||
1. [Installation](tutorials/01-installation.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
2. [Sending a Transaction](tutorials/02-transaction.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
3. [Writing Smart Contract in JavaScript](tutorials/03-smart-contracts-javascript.md) \(thanks [otto](https://github.com/ottokafka)\) | ||
4. [Introducing Smart Contract Storage](tutorials/04-smart-contract-storage.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
5. [Interacting with Nebulas by RPC API](tutorials/05-interacting-with-nebulas-by-rpc-api.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
|
||
1. [Installation](https://github.com/nebulasio/wiki/blob/master/tutorials/[English]%20Nebulas%20101%20-%2001%20Installation.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
2. [Sending a Transaction](https://github.com/nebulasio/wiki/blob/master/tutorials/[English]%20Nebulas%20101%20-%2002%20Transaction.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
3. [Writing Smart Contract in JavaScript](https://github.com/nebulasio/wiki/blob/master/tutorials/[English]%20Nebulas%20101%20-%2003%20Smart%20Contracts%20JavaScript.md) \(thanks [otto](https://github.com/ottokafka)\) | ||
4. [Introducing Smart Contract Storage](https://github.com/nebulasio/wiki/blob/master/tutorials/[English]%20Nebulas%20101%20-%2004%20Smart%20Contract%20Storage.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
5. [Interacting with Nebulas by RPC API](https://github.com/nebulasio/wiki/blob/master/tutorials/[English]%20Nebulas%20101%20-%2005%20Interacting%20with%20Nebulas%20by%20RPC%20API.md) \(thanks [Victor](https://github.com/victorychain)\) | ||
|
||
#### 中文 | ||
|
||
1. [编译安装及运行neb](https://github.com/nebulasio/wiki/blob/master/tutorials/[中文]%20Nebulas%20101%20-%2001%20编译安装.md) | ||
2. [在星云链上发送交易](https://github.com/nebulasio/wiki/blob/master/tutorials/[中文]%20Nebulas%20101%20-%2002%20发送交易.md) | ||
3. [使用JavaScript编写智能合约](https://github.com/nebulasio/wiki/blob/master/tutorials/[中文]%20Nebulas%20101%20-%2003%20编写智能合约.md) | ||
4. [智能合约存储区介绍](https://github.com/nebulasio/wiki/blob/master/tutorials/[中文]%20Nebulas%20101%20-%2004%20智能合约存储区.md) | ||
5. [通过RPC接口与星云链交互](https://github.com/nebulasio/wiki/blob/master/tutorials/[中文]%20Nebulas%20101%20-%2005%20通过RPC接口与星云链交互.md) | ||
|
||
## Contributing | ||
|
||
Feel free to join Nebulas Testnet. If you did find something wrong, please [submit an issue](https://github.com/nebulasio/go-nebulas/issues/new) or [submit a pull request](https://github.com/nebulasio/go-nebulas/pulls) to let us know, we will add your name and url to this page as soon as possible. | ||
¡Siéntete libre de unirte a la Mainnet de Nebulas! Si has encontrado un error, por favor [envía un aviso](https://github.com/nebulasio/go-nebulas/issues/new), o si eres desarrollador, [crea un pull request](https://github.com/nebulasio/go-nebulas/pulls); de ese modo podremos corregir los errores o añadir tu contribución a esta página lo antes posible. | ||
|