GithubHelp home page GithubHelp logo

blockchain-research's Introduction

Hi ๐Ÿ‘‹, I'm Nathan Galindo

A passionate full stack web2 and web3 developer

itsmezebedee

Connect with me:

nathanzebedee nathanzebedee @nathan.zebedee

Languages and Tools:

babel bash bootstrap css3 express figma git heroku html5 javascript jest linux mongodb nodejs postman python react reactnative typescript

blockchain-research's People

Contributors

masterzorgon avatar nathanzebedee avatar

Watchers

 avatar

blockchain-research's Issues

Implement `update_supplier` function

  • update_supplier should allow the updating for supplier information.

updatable information:

  • name

  • address

  • phone

  • email

  • routing_number

  • only passed-in info should be updated (and no other account data)

Implement `create_relationship` instruction

The create_relationship instruction associates two business units together in the form of a Master Edition NFT to create a transactional relationship.

Conditions:

  • Relationship consists of 1 Buyer and 1 Seller (business_unit.relationship_function).
  • Populate the business_unit.relationships vector with the partner's Pubkey (for each: buyer and seller).

Implement a `create_business_unit` endpoint

The create_business_unit function is responsible for creating a BusinessUnit account on the blockchain.

Associated entities:

  • BusinessUnit account
  • BusinessUnitArgs for the create_business_unit instruction
  • BusinessUnitErrors for create_business_unit error handling

Rewrite test scripts to accommodate new `Supplier` struct

The Supplier struct now includes Vec<Relationship>:

  • Test the make_supplier function by passing in an array of objects which match the Relationship struct.
  • Test the update_supplier function by passing in an array of objects which match the Relationship struct.

Implement `assign_relationships` endpoint

  • Receives a list of relationships
  • Validates data for each relationship
  • Creates a Relationship account for each relationship
  • Links the created Relationship accounts to the Supplier account

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.