Logo
RPC Assistant

What Is the SORA Project and How Does the SORA Blockchain Work?

Summary

The SORA project is a blockchain initiative focused on decentralized finance and monetary systems, evolving from a Polkadot parachain into SORA Nexus, a Hyperledger Iroha 3-based network. This article explains the SORA blockchain's architecture, its transition to SORA v3, and how developers can connect to it via RPC endpoints.

Quick Recommendation: How to Connect to SORA for Development

If you're a developer looking to build on the SORA network, your first decision is how to access the chain. You can run your own node, use a public endpoint, or rely on a managed RPC provider. For production applications, a managed provider like OnFinality offers reliable access without the overhead of node maintenance. OnFinality supports SORA and provides both public and dedicated endpoints, so you can start building quickly and scale as needed. Check the SORA network page for current endpoint details and availability.

The SORA Project: From Polkadot Parachain to SORA Nexus

The SORA project began as a Polkadot parachain with a vision to create a decentralized monetary system. It aimed to provide tools for DeFi, such as atomic token swaps and bridging, while also exploring the concept of a supranational central bank. Over time, the project has evolved significantly. The current iteration, SORA Nexus (also called SORA v3), is built on Hyperledger Iroha 3, a different blockchain framework. This shift represents a major architectural change, moving away from the Substrate-based parachain to a new, purpose-built network designed for interoperability and scalability.

SORA Blockchain Architecture: Key Components

SORA Nexus introduces several novel concepts that differentiate it from traditional blockchains. Understanding these helps developers appreciate the network's capabilities and constraints.

Hyperledger Iroha 3 and the Iroha Virtual Machine (IVM)

At the core of SORA Nexus is Hyperledger Iroha 3, a blockchain framework known for its simplicity and performance. The IVM is a deterministic virtual machine that executes smart contracts written in Kotodama, a Rust-based language. This design aims to provide predictable execution and high throughput.

Data Spaces and Lanes

SORA Nexus introduces the concept of data spaces – sovereign zones within the network where different rules and privacy levels can apply. This is particularly relevant for enterprise and CBDC use cases. Lanes are parallel execution paths that allow transactions to be processed concurrently, contributing to scalability. A merge ledger then combines these lanes into a single final state.

Consensus and Finality

SORA Nexus uses the SUMERAGI consensus protocol, a fast BFT variant that aims for sub-second finality. This is a significant improvement over many existing blockchains and is crucial for financial applications.

Privacy and Auditability

FASTPQ proofs, based on zk-STARKs, provide privacy features while maintaining auditability. This allows for confidential transactions without sacrificing the ability to verify the network's integrity.

SORA vs. Other Blockchains: A Developer's Perspective

When evaluating SORA for your project, it's helpful to compare it with other networks you might consider. The table below outlines key differences from a developer's viewpoint.

FeatureSORA Nexus (SORA v3)Polkadot Parachain (Legacy SORA)Ethereum
FrameworkHyperledger Iroha 3SubstrateEVM
Smart Contract LanguageKotodama (Rust-based)Rust (ink!)Solidity
FinalitySub-second (target)~12 seconds~12-15 seconds
ScalabilityParallel lanesParachain modelL2 solutions
PrivacyBuilt-in (FASTPQ)LimitedLimited
Use Case FocusDeFi, CBDCs, enterpriseDeFi, generalGeneral

How to Connect to the SORA Blockchain: RPC Endpoints

To interact with the SORA blockchain, you need an RPC endpoint. This allows your application to read data and submit transactions. Here's a practical guide.

Public Endpoints

For testing and development, you can use public endpoints. OnFinality provides a public endpoint for SORA, which you can find on the SORA network page. Note that public endpoints may have rate limits and are not suitable for production workloads.

Using OnFinality for Production

For production applications, consider using OnFinality's managed RPC service. It offers:

  • Reliable uptime with load balancing and failover.
  • Scalable infrastructure to handle high request volumes.
  • Dedicated nodes for exclusive access and performance.

You can get started by visiting the RPC pricing page to see plans and options.

Example: Making a JSON-RPC Request

Here's a simple curl example to get the latest block number from the SORA network. Replace the endpoint with the one from the network page.

curl -X POST https://sora.api.onfinality.io/public \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"chain_getHeader","params":[],"id":1}'

This request returns the latest block header, which includes the block number.

Common Pitfalls and Troubleshooting

When developing on SORA, you might encounter a few issues. Here are some common ones and how to resolve them.

Rate Limiting

Public endpoints often have rate limits. If you see 429 Too Many Requests, consider upgrading to a paid plan or using a dedicated node.

WebSocket Connection Drops

For real-time updates, you might use WebSocket. If connections drop, ensure your client handles reconnection logic and that you're using a stable endpoint.

Transaction Failures

If transactions fail, check the error messages. Common issues include insufficient balance, nonce errors, or invalid parameters. Use the network's explorer to debug.

SORA Development Tools and Resources

To build effectively on SORA, you'll need the right tools. The ecosystem is still evolving, but here are some starting points.

  • SDKs: The official SDK is @iroha/iroha-js, which you can use to interact with the network.
  • Explorer: Use a block explorer to monitor transactions and network health.
  • Faucet: For testnet development, you'll need test tokens. Check the SORA network page for faucet links.

Key Takeaways

  • The SORA project has evolved from a Polkadot parachain to SORA Nexus, a new blockchain built on Hyperledger Iroha 3.
  • SORA Nexus introduces data spaces, lanes, and FASTPQ proofs for scalability, privacy, and interoperability.
  • Developers can connect to SORA via RPC endpoints, with OnFinality offering reliable managed infrastructure.
  • When building, consider the network's unique architecture and use appropriate tools and SDKs.

Frequently Asked Questions

What is the SORA project?

The SORA project is a blockchain initiative focused on creating a decentralized monetary system. It has evolved into SORA Nexus, a network built on Hyperledger Iroha 3, targeting DeFi, CBDCs, and enterprise use cases.

How is SORA Nexus different from the old SORA parachain?

SORA Nexus is a complete rewrite based on Hyperledger Iroha 3, offering different consensus, smart contract language, and scalability features compared to the Substrate-based parachain.

What is the native token of SORA?

The native token is XOR, used for transaction fees, governance, and staking within the network.

How can I get test tokens for the SORA testnet?

Test tokens are typically available via a faucet. Check the official SORA documentation or community channels for the latest faucet information.

Is SORA suitable for enterprise applications?

SORA Nexus is designed with enterprise and CBDC use cases in mind, offering data spaces and privacy features that may be attractive for institutional adoption.

Where can I find the latest SORA RPC endpoint?

You can find the latest public and dedicated RPC endpoints on the SORA network page on OnFinality.

RPC Knowledge Base

Related RPC details

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started