Git Product home page Git Product logo

Comments (5)

ajamaica avatar ajamaica commented on June 9, 2024

This is so good.

from solana.swift.

 avatar commented on June 9, 2024

Hey! :)
Any updates on making the TransactionInstruction's constructor public?

from solana.swift.

j-h-a avatar j-h-a commented on June 9, 2024

@kwyszomierski-bluesoft any thoughts on #150 ?
I opened that to solve a more general case of sending any custom instructions to Anchor on-chain programs by implementing an AnchorInstruction protocol on the app-side. I created that PR as draft thinking there may be some conversation/amendments, but I've re-reviewed it today and it looks fine tbh. However, without any input or interest I'm just going to maintain it on my own fork... if people are interested however I'm happy to keep it up to date and get it merged.

from solana.swift.

 avatar commented on June 9, 2024

@j-h-a I'm really fresh to Solana, so I may be not the right person for asking a feedback. Currently, I'm trying to figure out how to communicate with custom program written by my team mate. Without TransactionInstruction public constructor (including BufferLayout and properties around it included) I see it rather not feasible.

Right now, in my team, we are not using Anchor, but... who knows, maybe we will in the future?

Nevertheless, if your change brings the value and solves problem of lacking a flexibility, I'm in.
But, as I wrote at the beginning: I've just started. Probably it is more a question to @ajamaica .

from solana.swift.

ajamaica avatar ajamaica commented on June 9, 2024

Now is posible to do this. Even if you want to generate your custom transactions from IDL automatically https://github.com/metaplex-foundation/solita-swift

from solana.swift.

Related Issues (20)

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.