One place for all Smart Contracts Docs
We have consolidated all our documentation in a single section, so you don't need to go searching around for it
Smart contracts are small pieces of logic that can live on every NEAR account. To build a contract you use the NEAR SDKs, which comes in two flavours: Rust and JavaScript.
Until today, we had multiple docs explaining how to build smart contracts:
/sdk/rust
dedicated to explain how to use the Rust SDK/sdk/js
dedicated to explain how to use the JS SDK/build/smart-contracts/what-is
- that explains general concepts, and how to implement them using both SDKs
Today, this is over, as all the information on how to build smart contracts is located in a single area: /build/smart-contracts/what-is
.
Meanwhile, we have transformed the SDK page to be a simple landing page with links to:
Why did we have 3 sections explaining the same topic?โ
The reason we had 3 different sections was that, historically, the engineers of each SDK were working on their own docs in isolation. To help mitigate this, we created a section on NEAR docs, meant to consolidate all the external documentation.
One day, the individual SDK pages were deleted - if I remember correctly, it was because we wanted to have fewer domains - and we had to migrate everything in a rush.
This left us in a very weird situation: we already had a section explaining how to build a smart contract... and now we had 3.
A single source of truthโ
Luckily, this is now fixed! We have finally conquered the original dream of having a single section for Smart Contracts, with all the information consolidated in there.
Now, we can focus on maintaining a single section, thus making it easier to keep it updated and relevant.
What's next?โ
We are currently undergoing a process of consolidating all the documentation. This means that we are looking at all the sections that have overlapping information, and trying to merge them into a single place.
This will not only improve the quality of our docs, but also make it easier for you to find the information you need. In fact, improving search is one of the main motors of this change, since we noticed that our search tool (Algolia) gets confused when the same concept is spread all over the place.
Moreover, having consistent and coherent documentation will allow us to further expand our search capabilities using AI! This is something we are very excited about, as it will allow us to provide you with even more relevant information.
If you don't like this change, please let us know!โ
As always, we are more than open to feedback. If you think that this change is not good, or that we are missing something, please let us know! You can reach out to us through the blue feedback button you see at the side of the screen.
We are looking forward to hearing your thoughts and feedback, and hope you enjoy the content we'll be sharing.
Happy coding, and see you in the next post! ๐