Giter VIP home page Giter VIP logo

3synx.in's Introduction

3synx.in

SynX aims to make profitable investments, which are inherently out of reach for many, accessible, by tokenizing real-world assets, leveraging Solana's powerful ecosystem. The world of agriculture will be starting point, because I've gagued the market and found interesting needs.

In Argentina, people have the perception that owning farmland is a good investment (they are not wrong), and talk about it as if it was not possible. 60,000 producers are in charge of a legacy system that is looking for new solutions to new problems, and, of course, more capital. Now, tokenizing a real world asset is delicate, but there already proven cases of success, and we are treading uncharted waters. Initially, SynX will target this reserved market, with the goal of onboarding producers to sell (or stake) their tokenized land on the Solana blockchain. The increased access to capital is bound to improve the quality of their production and to bring value to producers, investors and of course, Solana.

MVP:

A platform that allows Real World Asset (RWAs) owners to 'tokenize' assets and provides a secure, decentralized marketplace.

Solana Programs

This project is generated with the create-solana-dapp generator.

  • Write custom programs in the /programs directory. Init with anchor init <name>
    • Run anchor build and anchor deploy to delpoy to the configured environment
    • You can check your current env using solana config get

Solana Program Tests:

  • This is the most efficient way to interact with solana programs and are defined in the ./tests/** directory.

  • Tests interact with the program by importing its type from the target directory generated by anchor build -> import { Synx } from "../target/types/synx";

  • Do not forget to TDD, TDD, TDD

  • anchor test -> Troubleshoot: -check solana-test-validator status:

    • it needs to be on for delpoyment
    • it needs to be off for tests to run (anchor test) or run in a different port
  • Make sure the following environment variables are available for local test runs:

Getting Started

Prerequisites

  • Node v18.18.0 or higher

  • Rust v1.70.0 or higher

  • Anchor CLI 0.29.0 or higher

  • Solana CLI 1.17.0 or higher

Installation

Clone the repo

git clone <repo-url>
cd <repo-name>

Install Dependencies

npm run install

Start the web app

npm run dev

Apps

anchor

This is a Solana program written in Rust using the Anchor framework.

Commands

You can use any normal anchor commands. Either move to the anchor directory and run the anchor command or prefix the command with npm run, eg: npm run anchor.

Sync the program id:

Running this command will create a new keypair in the anchor/target/deploy directory and save the address to the Anchor config file and update the declare_id! macro in the ./src/lib.rs file of the program.

You will manually need to update the constant in anchor/lib/counter-exports.ts to match the new program id.

npm run anchor keys sync

Build the program:

npm run anchor-build

Start the test validator with the program deployed:

npm run anchor-localnet

Run the tests

npm run anchor-test

Deploy to Devnet

npm run anchor deploy --provider.cluster devnet

web

This is a React app that uses the Anchor generated client to interact with the Solana program.

Commands

Start the web app

npm run dev

Build the web app

npm run build

3synx.in's People

Contributors

julianirigoyen avatar

Forkers

cryptodevving

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.